Menu
Am trying to make a newsletter in Ajax i need to send many requests, one after the other… when one finishes the other must start a requests
This is the logic:
– Ajax takes a certain constant (5) send it to the PHP
– PHP takes the 5 and in MySql takes the 5 and makes a LIMIT to it
– So PHP chooses 5 emails from the database and sends them the news
– Then returns to AJAX
– Ajax again gives control to PHP
– PHP sends 5 more emails etc…
but i dont seem to be able to write it in code specially the AJAX am not really familiar, yet am quite good in PHP so i guess my problem is specially with AJAX
help please