Tag Archives: MySQL

E-mail Results of MySQL Query with PHP

I was in need of a simple house-keeping script, but couldn’t find anything simple. So I knocked this, simplified, up: <?php $to = ‘to@me.com’; $subject = ‘SQL results’; $headers = ‘From: me@me.com’ . “\r\n” . ‘X-Mailer: PHP/’ . phpversion(); $dbname … Continue reading

Posted in Dev | Tagged , , | Comments Off