i'm trying to understand what your saying here:
so..
pull the data of the db and stick in a session -
would that be something like this $row['itemName']
then would the link be a php link like
<a href="edit1.php?id='.$row['catid'].'">edit</a>
i need for the link to display each row number when the link is rolled over. ex. when you rollover the link, the row ID number needs to show up link.
then
pull that same data out of the session and stick in to the name/value tags of a form
would that be something like this
echo('<form action="edit.php" method="post">');
echo('Item Name: <input type="text" name="itemName" value="'.$row['itemName'].'"><br />');
echo('<input type="submit" name="submit" value="submit">');
echo('</form>');
then the update query would be something like
$query="UPDATE * FROM $tblname";
would any of that be right, if not can you help me out to understand this?
thanks