i have been trying to insert data into database from an html form which contain dropdown menus and text boxes in php using mysql as database.but iam getting the message that record has been added but the added record is not visible in the database table.so pls send me exact syntax to insert data into table from a drop downmenu in php.
to insert data into MYSQLdatabase from dropdown menu containg many items
Collapse
X
-
Heya, mahitha1. Welcome to TSDN!
If you're getting a message that the row has been added, but the row wasn't actually added, then there's a problem with your error checking.
Try using mysql_error() to see if your query returned an error. Also, let's have a look at the code that detects if a row was inserted to see where the problem is.
P.S.:
Sorry, but thescripts.com doesn't work that way. You've got to do the work yourself, but we're happy to lend support and advice along the way!Originally posted by mahitha1so pls send me exact syntax to insert data into table from a drop downmenu in php.
Comment