Hi,
> This is the code that I have so far (please note, it is within a
> function)... any ideas of how I can make it work?
this arouses the assumption that is doesn't work. Did you get
errors? And could you supply more information about
your database relations especially about the one of
orders to (probably existing) "ordering persons".
And yes nesting ifs is possible.
Johannes
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]