The website has 30 to 40 articles that can be quite long. My initial idea was to build a php form to input the html of the articles into MySQL, but when I did a GET, it said that the URL was too long. So I switched the exact code to a POST instead. There was no error, but it didn't add anything to the database either. Anyone have experience with this.

Yes, you won't want to use GET as the entire article will be in the URL.

The first thing that I would do would be to test your SQL query directly on the command line. That let you know immediately if the problem is with your form, your query, or your database, etc.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to