skidmark10 Posted July 30, 2011 Share Posted July 30, 2011 Hi, I have a table in mysql that I would like to retrieve data from, but only a particular row. I want to have an html form where I put the client id number in, hit submit, and have that member's row of data display (one row in the mysql table). Does anyone know the code for this? Quote Link to comment https://forums.phpfreaks.com/topic/243332-how-to-display-data-from-mysql-using-an-html-form/ Share on other sites More sharing options...
Pikachu2000 Posted July 30, 2011 Share Posted July 30, 2011 Post the code you've written, and describe the problems you're having with it. Quote Link to comment https://forums.phpfreaks.com/topic/243332-how-to-display-data-from-mysql-using-an-html-form/#findComment-1249598 Share on other sites More sharing options...
QuickOldCar Posted July 30, 2011 Share Posted July 30, 2011 http://dev.mysql.com/doc/refman/5.6/en/select.html http://www.php.net/manual/en/function.mysql-query.php http://www.w3schools.com/PHP/php_mysql_select.asp http://www.tizag.com/mysqlTutorial/mysqlselect.php Quote Link to comment https://forums.phpfreaks.com/topic/243332-how-to-display-data-from-mysql-using-an-html-form/#findComment-1249599 Share on other sites More sharing options...
skidmark10 Posted July 31, 2011 Author Share Posted July 31, 2011 Post the code you've written, and describe the problems you're having with it. Really haven't started any code yet, I'm confused. I know how to create an html form, with the form action of "post", and it stores the form data into the mysql table. Now I want an html form where I enter a client's ID number, hit submit, and the row with the ID number in the table is displayed. Quote Link to comment https://forums.phpfreaks.com/topic/243332-how-to-display-data-from-mysql-using-an-html-form/#findComment-1249899 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.