Jump to content


Photo

Data not being inserted into db


  • Please log in to reply
3 replies to this topic

#1 MikoMak

MikoMak
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 04 April 2006 - 10:05 AM

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.

#2 Humpty

Humpty
  • Members
  • PipPipPip
  • Advanced Member
  • 132 posts

Posted 04 April 2006 - 12:15 PM

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.
- Humpty
  #> Where does the light go when it goes out?

#3 MikoMak

MikoMak
  • Members
  • PipPip
  • Member
  • 20 posts

Posted 04 April 2006 - 01:54 PM

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

#4 Humpty

Humpty
  • Members
  • PipPipPip
  • Advanced Member
  • 132 posts

Posted 04 April 2006 - 09:37 PM

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


Yeah it's not a virtue I have.
- Humpty
  #> Where does the light go when it goes out?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users