Displaying 1 result from an estimated 1 matches for "dbprotect".
Did you mean:
aprotect
2007 Aug 24
0
MYSQL problem and configuration
...return $matches[1]; } } else { fwrite(STDERR,"FAIL (unexpected result '$res')\n"); fflush(STDERR); return -1; }}$agivar = init();$hostname= 'xxxx';
$database= 'xxxxx';
$username= 'xxxxx';
$password= 'xxxx';
$dbprotect = mysql_pconnect($hostname, $username, $password) or trigger_error(mysql_error(),E_USER_ERROR);
mysql_select_db($database, $dbprotect);$result = mysql_query("SELECT * FROM user_table WHERE user_age>12");while($entry = mysql_fetch_array($result)) {fwrite(STERR, "Name : $entry['...