Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Dec 15th, 2004, 8:16 AM   #1
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
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
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Old Dec 15th, 2004, 6:51 PM   #2
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,464
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
need to see some code
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Dec 15th, 2004, 7:07 PM   #3
tempest
Programming Guru
 
tempest's Avatar
 
Join Date: Oct 2004
Posts: 1,041
Rep Power: 5 tempest is on a distinguished road
Send a message via ICQ to tempest Send a message via AIM to tempest Send a message via Yahoo to tempest
Just a guess but did you put quotations around your variable values?
__________________

tempest is offline   Reply With Quote
Old Dec 16th, 2004, 2:15 AM   #4
Ade
Hobbyist Programmer
 
Ade's Avatar
 
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0 Ade is an unknown quantity at this point
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.
__________________
Don't wound what you can't kill
Ade is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 5:19 PM.

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