Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $result3 = mysql_query("SELECT email from s_email_camp where kunnr='".$_SESSION["kunnr"]."' and campid='".$_POST["campid"]."' and active='true' ");
- $model["email"]=array();
- while($row = mysql_fetch_array($result3)){
- array_push($model["email"],$row);
- }
- $emails= json_encode($model["email"]);
- --------------------------------------------------------------------------
- output of $emails:
- [{"0":"[email protected]","email":"[email protected]"},{"0":"[email protected]","email":"[email protected]"}]
Advertisement
Add Comment
Please, Sign In to add comment