Re: oddity with insert multiple input fields to multipletables
| From: | Chip Wiegand | Date: | Sun, 18 Aug 2002 18:30:04 +0000 |
| Subject: | Re: oddity with insert multiple input fields to multipletables | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-21217@lists.php.net to get a copy of this message | ||
On Sun, 2002-08-18 at 01:20, Joni Järvinen wrote:
> > 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-
Here's the error that results from using that:
Fatal error: Call to undefined function: isnull() in
/usr/local/apache/htdocs/workout-abs.php on line 111
--
Chip
> --
> // Joni Järvinen
> // joni.jarvinen@kolumbus.fi
> // http://www.reactorbox.org/~wandu
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>