I am looking for a coder or script that can pull pictures out of a database and scroll them across the header of my site. I run a car sales site and want to be able to show off all my inventory.
I am looking for a coder or script that can pull pictures out of a database and scroll them across the header of my site. I run a car sales site and want to be able to show off all my inventory.
Do you have PHP enabled on your server? If so, have a look at http://www.php-mysql-tutorial.com/ for info on getting data from a database. As for the scrolling across the header part, try looking through this category of DD.
http://www.dynamicdrive.com/dynamicindex14/index.html
Hope this helps.
Last edited by thetestingsite; 06-03-2007 at 01:27 AM.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Is it even possible to store images in a MySql database?
- Mike
Yes it is possible; however it is even harder to extract the images once inserted in the database (and not wise to do so). Take a look at this page:
http://www.phpriot.com/d/articles/da...ages-in-mysql/
Also, I think it would be a better idea to store the links to the images instead of the actual image in the database.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Store links. It'll be a lot less server intensive, faster for the user, and it will be easier to code. There is also no downside.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks