Jump to content

Archived

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

MikoMak

Data not being inserted into db

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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites
Hiya Humpty,

Thanx for that. I think this may have had something to do with a server refresh.

I tried out the forms again after a while, without changing any code, and everything worked fine!

Patience and all that...

Share this post


Link to post
Share on other sites
[!--quoteo(post=361563:date=Apr 4 2006, 08:54 AM:name=MikoMak)--][div class=\'quotetop\']QUOTE(MikoMak @ Apr 4 2006, 08:54 AM) [snapback]361563[/snapback][/div][div class=\'quotemain\'][!--quotec--]
Patience and all that...
[/quote]


Yeah it's not a virtue I have.

Share this post


Link to post
Share on other sites

×

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.