Guest User

swift mailer

a guest
Jan 30th, 2013
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. $result3 = mysql_query("SELECT email from s_email_camp where kunnr='".$_SESSION["kunnr"]."' and campid='".$_POST["campid"]."' and active='true' ");
  2. $model["email"]=array();
  3. while($row = mysql_fetch_array($result3)){
  4.     array_push($model["email"],$row);
  5. }
  6.  
  7. $emails= json_encode($model["email"]);
  8. --------------------------------------------------------------------------
  9. output of $emails:
Advertisement
Add Comment
Please, Sign In to add comment