for a file i would do something like this:
for the mysql db it would be something like this (this is probably a
little off):
I hope this helps. I'm sure it probably has a syntax error or something
but you get the point. :-) Welcome to the happy world of php!
- Dan
On Tue, 14 Aug 200
With mysql:
$connection = mysql_connect("host","user","pass");
$db = mysql_select_db("db_to_use", $connection);
$sql = mysql_query("SELECT * FROM table ORDER BY email ASC");
while ($row = mysql_fetch_array($sql)) {
$email = $row["email"];
$name = $row["name"];
email(EMAIL_F
2 matches
Mail list logo