as you know,i want to do a mailinglist in php based on mysql
i write this code:
<?
$subject =$_POST["subject"];
$message=$_POST["mensaje"];
$id=mysql_connect("francestage_uk_db","achakik","");
mysql_select_db("test",$id);
$query="select * from mil";
$result=mysql_query($query);
while($ligne=mysql_fetch-row($result)){
mail ($row[0] , $subject ,$message );
}
?>but it didn't work,if i click on send,any message send
i add my mail in the database and when i send email by yhe form that i did i didn't receive any mail,
anyone can help me