In my search for the best PHP mailing list software, I’ve come across some pretty bad ones, and some pretty good ones.
My criteria for a “good PHP mailing list” is the following:
-easy install
-easy integration
-double opt-in subscription
-sends mail even after browser window has closed (imagine waiting for your PHP script to finish sending an email to [...]
Continue reading »
Question: Is there a Zend Form state drop down select menu already created that I could just add to my form?
Answer: No. At least I don’t think so. Zend_Form doesn’t have any Zend_Form_Element_StateSelect or anything like that. The only way I found was to pass in an array of states. Feel free to copy and [...]
Continue reading »
Question: How do I write a function to compare the differences between two arrays?
Consider the following scenarios:
$alreadyInTheDatabase = array(’name’ => ‘Joe’, ‘address’ => ‘123 Fake St’);
$newFormValuesArray = array(’name’ => ‘Joe’, ‘address’ => ‘My address has changed’);
$alreadyInTheDatabase = array(’name’ => ‘Joe’, ‘address’ => ‘123 Fake St’);
$newFormValuesArray = array(’name’ => ‘Joe’); //a bad form has address missing [...]
Continue reading »