Open abdulla2013 opened 9 years ago
up.
do a loop in a loop...you have to get an array like bcLists[x]=stringOfNumbers
then you could do another loop for sending...
thanks @dennobaby Can you help me in writing that, or explain more how to do that.. as I am still starter in the programming (first month)
@dennobaby
@abdulla2013 They won't teach you how to code the scripts here!!
Hello,
I am having 120 numbers in the MySQL, I want to send them broadcast (all of these numbers saved my number as I asked them to save it, all of them are my family)! So, please it is not spam! If you do not know how broadcast is works, just to let you know.
As we know, we can only send for 50 each only... is there any way to implement mysql with php to send 50 of the records in the mysql each..
I have done this code.. but it needs some fixed.
$result = mysql_query("SELECT number FROM familynumber") or die(mysql_error()); $num_rows = mysql_num_rows($result); $num_fields = mysql_num_rows($result);
//Put each row of fields into an array while ($mysqlrow = mysql_fetch_row($result)) { $fetched_array[]=$mysqlrow; } $chunk_num = 10; $users = array_chunk($fetched_array, $chunk_num);
foreach($users as $uarr) { foreach($uarr as $addrs){ ?? } }
Something went wrong, could somebody try to help me to fix it please?
-Abdulla