Hello I have a small code attached. It adds a banner every number of chosen results. Currently I have it entering a banner every 5 results.
The problem is you have to manuallt add the multiple of 5 code by hand using
if ($banner ===5 || $banner ===10 || $banner ===15 || $banner ===20 || $banner ===30 || $banner ===35 || $banner ===40....
I would like this to just be controlled by me entering 1 number like 5 and it will automatically place the banner at every 5 instead of me creating all of those multiples.
Will pay right away and give a good rating.