Jump to content

[SOLVED] not inserting correctly in db


esport

Recommended Posts

Hi Guys,

I have never experienced this before. Im not sure if this is a mysql question or php. I can insert the data into the table fine, but when I run a query to check 2 fields it doesnt work. The data is in the tables. However, when I go into phpMyAdmin, browse the row and without making any changes to the table and click go, my query works fine. Im baffled... :-\ :-\ :-\

Link to comment
https://forums.phpfreaks.com/topic/129503-solved-not-inserting-correctly-in-db/
Share on other sites

there are no errors, it inserts correclty but when i run a query it returns nothing, unless i goto phpMyAdmin browse the row and click go. I think I may have figured out the problem. The data was being sent by a flash application and input fields were set as multiline not single line, so I think this may have been the problem. It must of been putting white spaces either at the start or end of each field.

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.