Hope this doesn't sound too lame from the newbie. I have a form, code shown
here that has input fields for each row. I'd like to do two things:

1.) Change the REALNAME field to just echo the row & not have an input field
(I've tried to do this & it just echoes my code back to me).

2.) Integrate a second form here that uses the same $result, but points to
another page to 'modify entry' instead of 'remove entry'. How could I
implement this?

Thanks for any help in advance, it is MUCH appreciated!!

______________________________________________________________
while ($row = mysql_fetch_assoc($result)) {

echo('

<table border=1 cellpadding=5>
<form name="remove" method="post" action="remove_entry.php">
<tr>
<td> NAME
</td>
<td><input type="text" size="25" name="phone"
value="'.$row["realname"].'"></td>
<tr>
<td>OFFICE PHONE
</td>
<td>
<input type="text" size="25" name="phone" value="'.$row["phone"].'">
</td>
</tr>
<tr>
<td>
<input type="submit" name="remove" value="Remove Entry"></td>
</tr>
</form>
</table>');
}
?>




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to