Re: [PHP] Emails from database...

2001-04-05 Thread David Robley
On Thu, 5 Apr 2001 16:27, you wrote: > Hi! > > Do u mean the code should be like this? > > > $connect = mysql_connect(); > $query = "select email from table"; > $execute = mysql_db_query("database", $query); > while($r=mysql_fetch_array($execute)) > { > $try = $r('email'); Your syntax is wrong h

Re: [PHP] Emails from database...

2001-04-04 Thread David Robley
On Wed, 4 Apr 2001 16:58, Dhaval Desai wrote: > Hi! > > > This is my code for sending email to all the emails in > my database: > > $connect = mysql_connecT(); > $query = "select email from table"; > $execute = mysql_db_query("database", $query); > > while($r=mysql_fetch_array($execute)) > { > $e