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
> // [EMAIL PROTECTED]
> // http://www.reactorbox.org/~wandu
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php