|
Thanks for *both* of your replies!
Ok, Matt, your code is more like what I was looking for, but let me explain a bit more. The script I am using is an ad management script and it store both text and banner information in the db. Ex: Link impressions, Link clicks, urls etc.. I was told from the scripts owner that if I store the images in the database ( as blob ), the site will become very slow. So instead, I am not storing the images in the db, so the script uses a default path to store the images and that's what I will be using, but I have added a pagination script so that the banners can have a limit per page. That's what the above code came from .. the pagination script.
Edit:: I am using the url from the db, I don't know if that will slow it (website) down, but I will try that...My problem now is my pagination script is showing 2 results when there's only one in the db. I am working out that kink atm. If you have a solution to the above, then by all means post it.
Thanks again!
-Brian
__________________
Made2Own
Last edited by Brian07002; 03-12-2011 at 04:39 PM..
|