I have the following code which will display my data from a database;
while ($row = mysql_fetch_array($result, MYSQL_NUM)) {
print("ID: " . $row[0] . " Stock: " . $row[1] . " Desc " . $row[2]);
print ("<br /><br />");
However, I need to get the data to be displayed within textboxes so that it can be edited. At the moment the data is printed out and I can't do anything with it. Would be handy if the titles of each column were in a format that couldn't be edited but the data within the stock column could be edited. Any know how to do this? I am a beginner at PHP as you can tell.