How to generate multiple .zip file in a loop base on a filtered result in array
Dear Ray
I need your support here where my position is I need to create multiple .zip file as output from a query result base on their respected ID which is in array. In this below query $filterHadithBooks I am filtering out the BookID which is like 10,12,13,14 so on.
Now from the query $mainHadith I need to filtered out the data of the respected book and output as .zip file. As there are several books data over there so when I should run the php file then it should generate the zip file in a row like hb10.zip, hb12.zip, hb13.zip .. and at the end it will stop after all file generation is complete.
I am attaching the php file herewith. Thanks for your kind co-operation.