I have a curl script which reads the data from a remote source. Below is the current code:
function download_page($path){ $ch = curl_init(); curl_set
to bulk insert operation you can append you script in a variable and you can run this as whole but for this you have to use mysqli_multi_query. Check this link http://www.php.net/manual/en/mysqli.multi-query.php
mysqli_multi_query