05-16-2008, 05:27 AM
|
#9 (permalink)
|
|
The Addict
Join Date: Nov 2007
Location: the Netherlands
Posts: 281
Thanks: 2
|
With the form you've made, include the ID in the URL. So the action tag will be action="<?php echo $_SERVER['PHP_SELF'] . '&id= '. $id; ?>".
But first you want to check the ID is save for HTML input via the GET variable:
if(!is_numeric($_GET['id']) OR empty($_GET['id'])) {
die('no valid id');
}
That is a very simple (but ugly) way to do it :)
__________________
Nunchaku! Who doesn't like martial arts? =)
|
|
|