Mercurial > hg > ywww
comparison newsletter/newsletter_110301.php @ 15:385ddd7c4b55 testing
use test_db.php to get mysqld_test instance
| author | Henry S. Thompson <ht@inf.ed.ac.uk> |
|---|---|
| date | Sun, 19 Feb 2017 16:17:53 +0000 |
| parents | 077b0a0a3e6d |
| children |
comparison
equal
deleted
inserted
replaced
| 14:1477b5e6dd16 | 15:385ddd7c4b55 |
|---|---|
| 1 <?PHP | 1 <?PHP |
| 2 | 2 |
| 3 include "../../private/db.php"; | 3 include "../../../private/db_test.php"; |
| 4 | 4 |
| 5 $myFile = "newsletterOutput"; | 5 $myFile = "newsletterOutput"; |
| 6 $fh = fopen($myFile, 'w') or die("can't open file"); | 6 $fh = fopen($myFile, 'w') or die("can't open file"); |
| 7 | 7 |
| 8 for ( $counter = 0; $counter <= 5200; $counter += 50) { | 8 for ( $counter = 0; $counter <= 5200; $counter += 50) { |
