User input into MySQL

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

seeker2921
Forum Contributor
Posts: 120
Joined: Sat Mar 22, 2003 7:10 pm
Location: Wiesbaden Germany
Contact:

Post by seeker2921 »

Well, I thought about that error thing already and I added it and it told me that I had the wrong count and I had forgotten a var so I added it then tryed it again and it updated to the database but it didn't put the correct information in the correct fields in the database??

Atleast it is updating to the database now, Thank you for helping..
User avatar
infolock
DevNet Resident
Posts: 1708
Joined: Wed Sep 25, 2002 7:47 pm

Post by infolock »

if it didn't put the correct data into the database, then that would be because you are either a) trying to put data into your table's field that doesn't comply with the TYPE of the field you specified, or b) you are not assigning the variables with the correct $_POST, or you are inserting the variables in the incorrect order. hope that helps.
Post Reply