[PHP-DB] Re: semi newbie Q

2001-08-09 Thread Johannes Janson

Hi,

 Here is a quick question. Cane the mail() function handle file
attachments?
 I couldnt find anything like that on the PHP reference but maybe someone
 knows out there.  If not does anyone have any simple scripts that will
allow
 me to do this?

I think it doesn't. Check e.g http://phpclasses.upperdesign.com/ for a
MIME-class.
Look at the links on php.net

hope it helps
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]




Re: [PHP-DB] if () and () - newbie Q

2001-03-17 Thread JJeffman

Try the "empty($variable)" function.

HTH

Jayme.

-Mensagem Original-
De: Michael Gerholdt [EMAIL PROTECTED]
Para: [EMAIL PROTECTED]
Enviada em: sbado, 17 de maro de 2001 23:12
Assunto: [PHP-DB] if () and () - newbie Q


 Why won't this work for me?

 if (($rectype == 'events') and ($action == '') and ($manage == '')){}

 I've also tried

 if ($rectype == 'events') and ($action == '') and ($manage == ''){}

 I want to have differences between this and something like:

 if (($rectype == 'events') and ($action == 'add') and ($manage == 'some'))

 Also -

 what about something like 'isNull' ? I don't see any documentation in the
 PHP online manual nor is 'null' even mentioned in the index of my Core PHP
 book.

 Regards,
 Michael Gerholdt
 SUNY College at Fredonia


 --
 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]




-- 
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]