sorry, i fixed it.....
When creating the MySQL database, i forgot to auto_increment the key field. Oops!
User Profile
Collapse
-
foreach loop not inserting in MySQL
I'm having trouble getting a foreach() loop to insert a record into a MySQL Database. Which I've never had any trouble before, it just seems quirky.
I've tried the mysql_query statement without a preceeding variable as well.
System information
Server
Apache/2.2.4 (Win32) DAV/2 mod_ssl/2.2.4 OpenSSL/0.9.8e mod_autoindex_c olor PHP/5.2.3 Time: 12/07/2007 01:20:06 PM
PHP
PHP Version: 5.2.3...
No activity results to display
Show More
Leave a comment: