How do I show the print with AJAX/jQuery?
- by Doug
So I'm trying to understand this whole AJAX/jQuery thing. Right now, when I run this PHP script alone, I would have to wait and watch the wheel spin until it's done with the loop and then it will load.
while ( $row = mysql_fetch_array($res) ) {
postcode_to_storm( $row['Test'] );
$dom = new DOMDocument();
@$dom->loadHTML($result);
…