note 16000 added to function.isset
| From: | maelmori at maelmori dot com | Date: | Thu, 11 Oct 2001 19:31:36 +0000 |
| Subject: | note 16000 added to function.isset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18837@lists.php.net to get a copy of this message | ||
I found this extrange tip: you can have two submit buttoms, (for example two with names
"insert" and "delete"), so you can ask:
if (isset($delete)) {
$sqlSentence="DELETE FROM table WHERE.."
} else if (isset ($insert)) {
$sqlSentence="INSERT INTO table..."
}
I'm not sure if it is the best way to do it, but it works.
--
http://www.php.net/manual/en/function.isset.php
http://master.php.net/manage/user-notes.php?action=edit+16000
http://master.php.net/manage/user-notes.php?action=delete+16000
http://master.php.net/manage/user-notes.php?action=reject+16000