Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource/webassist/form_validations/wavt_scripts_php.php on line 642
HI
I keep getiing these warnings after I fill in the registration form set up by security assist. Everything is Ok in local host but this happens on the remote server
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in /home/rolypoly/public_html/performadvance.com/htdocs/webassist/form_validations/wavt_scripts_php.php on line 642
Warning: mysql_query(): supplied argument is not a valid MySQL-Link resource in /home/rolypoly/public_html/performadvance.com/htdocs/webassist/form_validations/wavt_scripts_php.php on line 645
These are lines 642-645 inclusive
mysql_select_db($db, $conn);
$WA_UniqueWhere = Validations_generateWhereClause(array($filterCol, $keyCol), array($filterType, $keyType), array($filterValue, $keyValue), array("=", "<>"));
$WA_UniqueSQL = "SELECT `".$keyCol."` FROM `".$tableName."` WHERE ".$WA_UniqueWhere->sqlWhereClause;
$WA_UniqueRS = mysql_query($WA_UniqueSQL, $conn) or die(mysql_error());
Thanking you in anticipation