To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
Code CritiqueHaving someone critique your code is always a great way to hone the skills. Stop in and post your code to see what your peers may have done differently.
Originally posted by Tristan Wells Connect and select check if connections are possible and if they arent it exits.
what if in that microsecond between the execution of the if statment and the execution of the real statment something happens that makes the database no longer available? I know it's a long shot but it's a shot.
Originally posted by HalfaBee You need a function to return all the rows as an array.
Halfabee
Line 87-92.
PHP Code:
//+---------------------------------+\\
//+Fetch arrays from the database
//+---------------------------------+\\
function fetch($res)
{
return mysql_fetch_array($res) or die($this->error());
}
__________________
The girls at school call me nerdalicious.