mysql - Only one field in my form being set php and sql
408
Solution:
Is this what you are looking for?
Product <input type="text" name="product" value="<?php echo htmlentities($row['product']); ?>" /></br>
Price <input type="text" name="price" value="<?php echo htmlentities($row['price']); ?>" />
Answer
Solution:
For debug sake, do this after the while: "print_r($row);" - this will show you the exact contents of the $row variable
Plus... it would be nice to add limit 1 to your query