I was working my way through the Creating an Online Survey Part 2 tutorial found here: http://www.phpbuilder.com/columns/patterson20051109.php3, and run into this error:
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /Applications/xampp/htdocs/survey/process2.php on line 122
Error!
There was an error processing your request. mySQL returned the following:
0
Line 122 is:
$rslt = mysql_query($dbc, $sql);
Like the directions said, I did change mysqli to mysql because not using mysqli.
Not sure what's wrong, I didn't write the code and I'm pretty new to this.
Also, the links to the full source for all examples on page 2 are broken.
Thanks in advance.
🙂