Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql update timing out???

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hi,
ive just installed php and mysql on my machine and it all seems fine but when i try and write to an sql database it just seems to 'keep thinking'. the progress bar down the bottom of the browser goes about half way (after about 30 seconds) and then stops. Any ideas?

thanks

Dave
 
here is the code...

<?php
print(&quot;hello&quot;);
mysql_connect (&quot;localhost&quot;, &quot;dave&quot;, &quot;pass&quot;);
mysql_select_db (&quot;siteUsers&quot;);
mysql_query (&quot;INSERT INTO users (name, email, password)
VALUES ('$name', '$email', '$password')
&quot;);
print ($name);
print (&quot; : &quot;);
print ($email);
print (&quot;<p>&quot;);
print (&quot;Thanks for signing up!&quot;);

?>
it works the firat time i submit it but then if i refresh the form to submit ti again it just hangs....
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top