Hi . . .
Apparently the problem was a full stop and brackets as seen below:
# {
# $messagebody .= "To: ". $row8['personaliseto']."\n\n";
# }
#
# $messagebody = "To: ". $row8['personaliseto']."\n\n";
#
This morning it worked fine . . .
Thanks...
User Profile
Collapse
-
Thank you for your input . . .
I will look at what you are saying . . .
Unfortunately as I did not write this particular code . . . coupled with my limited knowledge . . . it can be really frustratingLeave a comment:
-
...Code:<?php include("../includes/misc.php"); $connection = mysql_connect($host,$user,$password) or die ("Couldn't connect to server."); $db = mysql_select_db($database, $connection) or die ("Couldn't select database."); $result8 = mysql_query("SELECT directory.contact dir_contact, directory.contactemail dir_contactemail, A.event, A.name, A.contact,Leave a comment:
-
sending saved messages to different people via cron program
I have set up a php file using a mysql querie which takes data from a media file from my database table.
A series of different data rows gets called on a specific day and are sent out via a cron program sitting on our server.
The problem is that the files are linking together . . . instead of going to the separate recipients they are grouping together in a string and being sent to everyone . . .
How can...
No activity results to display
Show More
Leave a comment: