Posted by samudasu on 02/27/06 11:21
Is there some reason you can't just do it like this?
<form method="post" action="updated.php">
ID <input name="id" type="text" value="<?php echo $id; ?>" /><br />
Title <input name="title" type="text" value="<?php echo $title; ?>"
/><br />
Date <input name="datetime" type="text" value="<?php echo $date; ?>"
/><br />
Desc <textarea name="desc" cols="30" rows="5" wrap="VIRTUAL"><?php echo
$desc; ?></textarea>
<input name="update" type="submit" value="Update Event">
</form>
$ud_id=$_POST['id'];
$ud_title=$_POST['title'];
$ud_date=$_POST['datetime'];
$ud_desc=$_POST['desc'];
Navigation:
[Reply to this message]
|