Jump to content

Data not being inserted into db


MikoMak

Recommended Posts

Hi,

this is a strange one - I have 2 seperate forms to add data into 2 tables.

Both contain a textarea which corresponds to a TEXT field in my db. Both also contain other fields e.g varchar, int and enum.

All the rest work, only the TEXT fields end up empty when I submit the form.

I've built numerous forms like this and haven't ever had a problem so I don't think it's my code (I don't get any error messages either)- the only difference I see in this db, as compared to the others I use, is 'collation' when specifying the type. The default seems to be 'latin1_german2.ci' (German phone book, case-insensitive)

Any ideas anyone?

Any help will be greatly appreciated.
Link to comment
https://forums.phpfreaks.com/topic/6558-data-not-being-inserted-into-db/
Share on other sites

If you have already tried the following then at least my post will bump your question to the top again.

Is the data definatly being passed through to the file?

Have you checked case sensitivity in the query?

I know they are obvious things but this is where I ALWAYS stuff up regardless of the amount of times I've done it in the past.

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.