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
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.

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.