Jump to content


Photo

Can't write to database through a form


  • Please log in to reply
3 replies to this topic

#1 peterbarone

peterbarone
  • Members
  • PipPipPip
  • Advanced Member
  • 38 posts

Posted 03 November 2005 - 04:19 PM

Hello

I have a simple database that holds some dates. I can input the data with phpMyAdmin.

I would like to do this with a form on my site.

I can't get it to work so I started to download pre made blog scripts to learn what I was doing wrong.

Then didn't work either so I figure I must have something wrong with mysql setting ?

Where do I start ?

Any help would be great

#2 ryanlwh

ryanlwh
  • Staff Alumni
  • Advanced Member
  • 511 posts

Posted 03 November 2005 - 05:54 PM

what is the data type you set for the date? DATE, DATETIME, or TIMESTAMP?? or it's just VARCHAR??
Please use EDIT * 100...
Please use
or [php] * 1000...

PLEASE READ THE POSTED SOLUTIONS CAREFULLY * 1000000...

#3 peterbarone

peterbarone
  • Members
  • PipPipPip
  • Advanced Member
  • 38 posts

Posted 03 November 2005 - 05:56 PM

what is the data type you set for the date? DATE, DATETIME, or TIMESTAMP?? or it's just  VARCHAR??

View Post



date

#4 ryanlwh

ryanlwh
  • Staff Alumni
  • Advanced Member
  • 511 posts

Posted 03 November 2005 - 06:01 PM

format the date to YYYY-MM-DD
Please use EDIT * 100...
Please use
or [php] * 1000...

PLEASE READ THE POSTED SOLUTIONS CAREFULLY * 1000000...




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users