While designing my site using PHPRunner 5.2 (Build 5482), it was working great until suddenly, I started getting this error:
------%<----------%<----------
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /storage/www/html/klwtddb/include/dbconnection.php on line 34
Fatal error: in /storage/www/html/klwtddb/include/dbconnection.php on line 36
------%<----------%<----------
Here's what line 34 and 36 of my dbconnection.php file look like:
------%<----------%<----------
28. function db_query($qstring,$conn)
29. {
30. global $strLastSQL,$dDebug;
31. if ($dDebug===true)
32. echo $qstring."
";
33. $strLastSQL=$qstring;
35. {
[color="#FF0000"]36. trigger_error(mysql_error(), E_USER_ERROR);
37. }
38. return $ret;
------%<----------%<----------
Anyone ever see this?
Any thoughts?