PDA

View Full Version : Form help


Mike Armas
01-20-2006, 02:04 PM
Hello all iam trying to make a from that will display info from a database.

My database is called "mike"

<?php

$result = mysql_query("SELECT * FROM UDT_MIKE ORDER by name ASC");

?>

<table border="1" cellpadding="3" cellspacing="3">

<tr>
<th align="left">Name</th>
<td align="left">
<input name="name" type="text" value="<?php echo($name) ?>" /></td>

</tr>
</table>

Why is this not working ?

I am bad at programing so it might not be right.

All i want to do is display the info in the database to a form then i want to edit the form click a button that will edit the database. So the customer doesn't have to go in the backend to add or del new data.