Retrieve data from Mysql database, display on a form, and allow user to update using PHP
Retrieve data from Mysql database, display on a form, and allow user to update using PHP I am VERY NEW to PHP. I have a page where I want a user to be able to enter a citation and that information is then passed to a php script that queries against the database, returns the information in a form, and then allows the user to update any of the fields returned in that form. I have three problems: 1) When data returns, is only returns the first word in the field. Many of the fields contains multiple words. 2) When the users changes data in the field, the database isn't updated. 3) I don't seem to know how to get the form fields to display like I do for data entry. Here is the code that queries and returns the data for the user to review and update if necessary: <?php mysql_connect("***************", "*********", "****") or die(mysql_error()); mysql_select_db("***********") or die(mysql_error()); $searchterm= $_POST['searchterm...
