RE: [PHP-DB] Insert into command - PHP
| From: | Jonathan Hilgeman | Date: | Fri, 29 Mar 2002 16:53:31 +0000 |
| Subject: | RE: [PHP-DB] Insert into command - PHP | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-18036@lists.php.net to get a copy of this message | ||
You can check to see if there were any insert errors by:
print mysql_error();
...after you have run the query. Give us the output and your query and we
can help a bit more.
- Jonathan
-----Original Message-----
From: Ethan J. Mings [mailto:qualityoffice@consultant.com]
Sent: Friday, March 29, 2002 6:34 AM
To: PHP Mailing List
Subject: [PHP-DB] Insert into command - PHP
Crafted from The Desk on location in the Quality Lab.
Hello PHP,
--
I'm using the mysql_query() function.
I have 61 fields (e.g, '$fname','$lname'etc) to insert into the data
table.
No matter what I do, the data is not loaded into the table.
I've tried smaller tables with less than 11 fields and the data is
loaded correctly.
Question:
[1] Does PHP have a limit on the number of fields?
[2] How does one stop the line from running to the right. "\n" does
not appear to work.
Any insights would be extremely helpful. If you can point me to a
direct resource on the web, I'm glad to do the homework.
Thanks.
--
Best regards,
Ethan J. Mings
mailto:qualityoffice@consultant.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php