Jump to content

For loop terminating unexpectedly


mrp101

Recommended Posts

It reads data from one dbase, uses the data to search on another then writes the result to the first.

It seems to be breaking before the while statement;

 

$Query3 = "SELECT f1, f2, MATCH (f1) AGAINST ('".$t."') AS SCORE FROM table2";

 

$Result3 = mysql_query ($Query3, $Link);

 

While($Row3 = mysql_fetch_array ($Result3)) { 

$scores[] = $Row3[sCORE]; }

 

Thanks for the error message code.

 

Problem seems to be the error below.

 

Fatal error: Maximum execution time of 30 seconds exceeded in /var/www/html/phpscript/opendb8.php on line 49

 

Line 49 is:    While($Row3 = mysql_fetch_array ($Result3))

 

Some kind of timeout on the dbase query ??

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.