Tuesday, August 23, 2011

Load the MYSQL data into combo box element


The data from another table is used with HTML combo control, can maintain the accuracy of the database as well as relationship with them are verified with no objections.

my new code blocks will release on future in complete manner. Here are the few blocks only that can help for anyone with combo box control within form tag.
------------------------------
//Here is the place for connection with MYSQL

// Write out our query.
$query = "SELECT username FROM users";
// Execute it, or return the error message if there's a problem.
$result = mysql_query($query) or die(mysql_error());



No comments:

Post a Comment