• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

passing html form data to mysql table which contains auto_increment for id field

 
sujesh Katri
Ranch Hand
Posts: 115
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i'm trying to pass html form data to mysql table which contains auto_increment to id field, auto increment working properly but instead of form data ,null values are storing in database table..how can i insert form data into table..thank you
 
Dave Tolls
Ranch Hand
Posts: 2095
15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Have you debugged the code, printing out the values (or at least a selection of them) at various stages of your process?

If you've narrowed down where the data disappears then we can look at that code to see where it's going wrong.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic