![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
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 |
|
|
|
|
|
#2 |
|
Programming Guru
![]() ![]() ![]() |
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." |
|
|
|
|
|
#3 |
|
Programming Guru
![]() |
Just a guess but did you put quotations around your variable values?
__________________
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
Join Date: Oct 2004
Location: England, UK
Posts: 139
Rep Power: 0
![]() |
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 |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|