Programming Forums

Programming Forums (http://www.programmingforums.org/forumindex.php)
-   PHP (http://www.programmingforums.org/forum29.html)
-   -   Mysql Insert *solved* (http://www.programmingforums.org/showthread.php?t=1551)

Ade Dec 15th, 2004 9:16 AM

Hey guys!

For some reason I am really having problems with a MySQL insert statement, something I have done many times before with no problems. I have tried editing my previous scripts but nothing will work.

I inserted a row using PHPMyAdmin which worked fine so I got the PHP code from that and included it in my page and it entered into the dadabase no problem. When I tried to convert the static values into variables it wouldn't enter anything. I'm not getting any PHP or MySQL errors, just nothing being entered.

Most annoying.

Has anyone else had a similar problem?

(If needed I will post my code when I get home from college in a couple of hours)



Cheers Ade

Infinite Recursion Dec 15th, 2004 7:51 PM

need to see some code

tempest Dec 15th, 2004 8:07 PM

Just a guess but did you put quotations around your variable values?

Ade Dec 16th, 2004 3:15 AM

I haven't got a clue what I did wrong. I started from scratch and now it works fine. Don't know what I did wrong. Sorry to waste ya time.


All times are GMT -5. The time now is 4:26 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC