@@ -29,11 +29,11 @@ |
||
| 29 | 29 | // parameter represents the DataTables column identifier. In this case simple |
| 30 | 30 | // indexes |
| 31 | 31 | $columns = array( |
| 32 | - array( 'db' => 'id', 'dt' => 0 ), |
|
| 33 | - array( 'db' => 'firstname', 'dt' => 1 ), |
|
| 34 | - array( 'db' => 'surname', 'dt' => 2 ), |
|
| 35 | - array( 'db' => 'zip', 'dt' => 3 ), |
|
| 36 | - array( 'db' => 'country', 'dt' => 4 ) |
|
| 32 | + array('db' => 'id', 'dt' => 0), |
|
| 33 | + array('db' => 'firstname', 'dt' => 1), |
|
| 34 | + array('db' => 'surname', 'dt' => 2), |
|
| 35 | + array('db' => 'zip', 'dt' => 3), |
|
| 36 | + array('db' => 'country', 'dt' => 4) |
|
| 37 | 37 | ); |
| 38 | 38 | |
| 39 | 39 | // SQL server connection information |
@@ -32,12 +32,12 @@ |
||
| 32 | 32 | } |
| 33 | 33 | |
| 34 | 34 | if (get_magic_quotes_gpc()) { |
| 35 | - $value = htmlspecialchars(stripslashes((string)$value)); |
|
| 35 | + $value = htmlspecialchars(stripslashes((string) $value)); |
|
| 36 | 36 | } else { |
| 37 | - $value = htmlspecialchars((string)$value); |
|
| 37 | + $value = htmlspecialchars((string) $value); |
|
| 38 | 38 | } ?> |
| 39 | 39 | <tr> |
| 40 | - <th style="vertical-align: top"><?php echo htmlspecialchars((string)$key); ?></th> |
|
| 40 | + <th style="vertical-align: top"><?php echo htmlspecialchars((string) $key); ?></th> |
|
| 41 | 41 | <td><pre class="samples"><?php echo $value; ?></pre></td> |
| 42 | 42 | </tr> |
| 43 | 43 | <?php |