Re: oddity with insert multiple input fields to multipletables
| From: | Joni J�rvinen | Date: | Sun, 18 Aug 2002 08:20:01 +0000 |
| Subject: | Re: oddity with insert multiple input fields to multipletables | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21211@lists.php.net to get a copy of this message | ||
> if (!isnull($date_am || $exercise_am || $reps_am)) then
> mysql_query($sql_am) or die
> ("Error in this query >>$sql<< : " .mysql_error());
Try:
if(!isnull($date_am) && !isnull($exercise_am) && !isnull($reps_am))
This should IMO work :)
-Joni-
--
// Joni Järvinen
// joni.jarvinen@kolumbus.fi
// http://www.reactorbox.org/~wandu