I have multiple images from a mysql database, I want to swap all these images onmouseover, IE, onmouseover, swap allthe images, each after some 3 4 seconds
Naturally , there is a group of images, each will have more than one image to be swapped
Are the images in the database, or are the paths to the images kept in the database?
PHP/Mysql will only be responsible for outputting a load of html (containing img links) into the html source code of your page.
The behaviours which then do your image swopping are then done in JS (or use a JQuery library if you prefer) with that source code.
JS will not get them out of your database.
JS will help add behaviours on the client browser.
Have you got the images out of your database yet then?
My Dear Friend
Thank you for your support
I will do the rest with php
and in the body the process of invoking the rest
So if you forget about php mysql database, and have the function, I can do the rest
Many Many thanks for your help
Many Many Thanks My friend
In that case, as you have now explained that you are able to get the images into JS arrays it is time to say you are in the wrong forum, sorry
I will ask this thread be moved to the JS forum, there you will be able to find the help you need.
This topic is now closed. New replies are no longer allowed.