what seems to be wrong here?
Posted: Tue Jul 13, 2010 7:53 pm
newbie here! i dont know how to debug this problem. will somebody please help me out? 
I get a message that says:
Fatal error: Call to undefined function msql_query()
i hope someone can help me. thanks
Code: Select all
$con = mysql_connect("localhost","root","");
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db("internalsurvey", $con);
//SQL function to get new respondent number
$Resp = msql_query("SELECT COUNT(respondentNo) FROM Answers");
$Resp = $Resp + 1;.Fatal error: Call to undefined function msql_query()
i hope someone can help me. thanks