<?php
$get = $_GET['type'];
$array = array('AA', 'BB', 'CC');
if(in_array($get, $array)) {
$Qdaily_entriesD = mysql_query("SELECT * FROM daily_entries WHERE account_type=$get ") OR DIE ("error");
while ($showRowGeneral = mysql_fetch_assoc($Qdaily_entriesD)){
?>
<tr>
<td><?echo $showRowGeneral['account_type'];?></td>
<td><?echo $showRowGeneral['riyal'];?></td>
<td><?echo $showRowGeneral['dollars'];?></td>
</tr>
<?
}
}
?>
- Output for 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.16, 8.4.1 - 8.4.2
- Parse error: Unclosed '{' on line 7 in /in/vmjdk on line 18
Process exited with code 255. - Output for 8.0.13
- Warning: Undefined array key "type" in /in/vmjdk on line 3
- Output for 7.4.33
- Notice: Undefined index: type in /in/vmjdk on line 3
- Output for 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.32
- Parse error: syntax error, unexpected end of file in /in/vmjdk on line 18
Process exited with code 255. - Output for 7.3.32 - 7.3.33
preferences:
132.57 ms | 410 KiB | 5 Q