3v4l.org

run code in 300+ PHP versions simultaneously
<?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> <? } } ?>

preferences:
65.85 ms | 402 KiB | 5 Q