Posts tagged php

Dates in PHP and MYSQL

You would think that with PHP and MYSQL having such a lovely relationship that using dates PHP in MYSQL (and vice versa) would be a little more intuitive.  I guess it is intuitive to those who speak UNIX. So say you want to select a recordset between two dates.  Here’s how: //start with a date [...]

ini_set in PHP

Installed Mail, Auth_SASL, Net_SMTP and Net_Socket in PHP but still getting an error? Find the directories that have the “Mail” and “Net” folders (installed with your PEAR mail packages, probably above your “public_html” or “www” directory) and set your include path to point to that directory for the duration of your script (it resets at [...]