[PHP] Maximum execution time exceeded!

2001-01-29 Thread Chakravarthy K Sannedhi
hi all, when i am trying to calculate the number of rows with a '0' in a particular column using the following code, it is giving the 'Maximum execution time exceeded' message, eventhough after i gave set_time_limit(60), it didn't worked, infact now it is even worse the browser is getting siezed.

[PHP] if ... else ...

2001-01-26 Thread Chakravarthy K Sannedhi
t;You have to goto Scene$i"); } else { printf ("You don't have anything to fill"); } } -- Please correct me about the mistake i am making over above. TIA Chakravarthy K Sannedhi __ Do You Yahoo!? Yahoo! Auctions

[PHP] Selecting max(id) of a table

2001-01-22 Thread Chakravarthy K Sannedhi
int ('Max id in the table=$max'); But what all i am getting is an error like below: Warning:Wrong parameter count for mysql_result() in /home/httpd/info.php on line xx Max id in the table=$max i am confused about which function to use instead of mysql_result

[PHP] How to avoid submitting twice?

2001-01-17 Thread Chakravarthy K Sannedhi
$myrow["scene1"]; if ($scene1 == 1||2||3||4||5) { echo ""; echo "alert(\"You can choose the rating only once\");"; echo ""; } } Thanks Chakravarthy K Sannedhi __ Do You Yahoo!? Get email at your own domai

[PHP] HTTP_REFERER not giving proper results

2001-01-12 Thread Chakravarthy K Sannedhi
is the $HTTP_REFERER variable is not catching redirect1.php into it. I want to know where i am going wrong in using that. Thanks a lot to whoever responds Chakravarthy K Sannedhi Scenario 1 Best Effort "); mysql_connect('localhost','user','password') or