///////////////////ส่วน code ///////////////////////////////
<?
$correct=0;
$total=count($total_question);
include "connect.php";
$sql="select id,ans from test order by id";
$result=mysql_db_query("$dbname",$sql);
while($r=mysql_fetch_array($result)){
$id=$r[id];
$ans=$r[ans];
error ว่าWarning: in_array(): Wrong datatype for second argument in /home/httpd/vhosts/edupolice.org/subdomains/pknow/httpdocs/eLearning/test/random_check.php on line 85