Hi all,
I have two tables, table 1 holds flight data and table 2 holds telephone number.
I need to be able to read all the records in table 1 and send them using SMS messaging to all the record in table 2
Example: Table1
BA1234
LH9989
AA76
Table 2
555 555 5551
555 555 5552
Output
BA1234 555 555 5551
BA1234 555 555 5552
LH9989 555 555 5551
LH9989 555 555 5552
AA76 555 555 5551
AA76 555 555 5552
This is the code I am working with:
do {
do {
$SMSBody = $row_FlightSMSSend['FlightNo'] . " " . $row_FlightXAlertUsers['FlightxUserTeleNo'];
// send SMS
} while ($row_FlightXAlertUsers = mysql_fetch_assoc($FlightXAlertUsers));
} while ($row_FlightSMSSend = mysql_fetch_assoc($FlightSMSSend));