Results 1 to 2 of 2
Thread: mysql help
Sep 21, 2001, 12:37 #1
- Join Date
- Jul 2001
- Tucson, AZ
- 0 Post(s)
- 0 Thread(s)
I am working on a template site. I want to store my date in a mysql data base but i dont know how to do it. I made something but it only loads the same info over and over again. heres a link to the page. I want to have each template screenshot and the links loaded from mysql for each template. http://www.aesepia.com/db/templates.php
How would I do this, or is there a php script to do this already out there?
Like I said, I tried but all that i saw on my output page was the same template over and over again.- Scott
The Vintage Gamers
Sep 21, 2001, 14:24 #2
Actually, I wouldn't even use a mysql database, you don't need to.
Just number each template, and then name the screenshots <number>.jpg and the zips <number>.zip.
then on the main page, you can links to template.php?id=<number>, then on template.php, you say:
print('<img src="http://image/base/directory/url/' . $id . '.jpg">');
and the same for the url...
Otherwise, I'm pratically sure that there is already a good script for that, check out http://www.hotscripts.com/PHP/Scripts_and_Programs/Ohai!