Quantcast
Channel: PHP Freaks: PHP Help
Viewing all articles
Browse latest Browse all 13200

Will the server crash if i do over 50 mysql querys with the for statement to retrieve data?

$
0
0
Hi I want to do this for many things on my php sites. Example:
 
 
for ($a=1; $a<=60; $i++)
{
$result = $con->query("SELECT * FROM Users WHERE UserID <='". $a ."'" );
$row = $result->fetch_array();
 
and etc
}
 
 
Thanks.

Viewing all articles
Browse latest Browse all 13200

Trending Articles