I have a form which is autopopulated. I need my users to be able to make changes to it when necessary. The problem is my users can change whatever needs to be changed but when they hit submit it doesn't change anything in the database.
PHP Code:
<form name="FormName" action="<?=$PHP_SELF;?>" enctype="multipart/form-data" method="post">

$query="SELECT * FROM abc_tables WHERE table_id=$table_id";
$result=mysql_query($query);
while ($row = mysql_fetch_assoc($result))
{
$rest_name = $row['rest_name'];

<input type="text" class="formTextbox" name="rest_name" size="24" value="<?="$rest_name"?>">

<input type="submit" name="submit" class="formTextbox" value="Submit">