note 16000 deleted from function.isset by irc-html
| From: | irc-html@php.net | Date: | Thu, 10 Jan 2002 20:04:41 +0000 |
| Subject: | note 16000 deleted from function.isset by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24637@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.