Re: [PHP] Re: Can this be done?

2009-05-05 Thread Maarten Schalekamp
can try the foreach, put all the urls in one array something like this might work: ?php include(inc/dbconn_open.php); include(inc/dom.php); error_reporting(E_ALL); $TESTING = TRUE; $targets[] = http://www.greenecountymo.org/sheriff/warrants.php;; $targets[] =

[PHP] Re: Newbie - Setting Up Some Basic Sendmail Scripts

2009-05-05 Thread Maarten Schalekamp
i think you will need to make use of a pear package to be able to do this. pear package: http://pear.php.net/package/Mail examples: http://blog.thekimsfamily.com/archives/3 docs: http://pear.php.net/manual/en/package.mail.mail.factory.php

[PHP] Re: speaking of control structures...

2009-05-05 Thread Maarten Schalekamp
im not sure if i understand exactly what you want. but from what ive gathered, did you try to make use of a FUNCTION? ?php function add($val1,$val2) { return ($val1 + $val2); //returns value from where it was called. } function doit(){ if() { bla bla bla; } else blar;