Home > Archive > PHP SQL > May 2005 > random images
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
|
|
| rene willemsen 2005-05-26, 8:56 am |
| hi all,
is there sombody who can helpme witht he following, i am ''pretty new'' to
php and am looking for a script to show images randomly at a 10/ 15 seconds
interval. is there anybody who can help me with this or does know where to
find a good template script for this?
thanks in advance,
rene
| |
|
| rene willemsen wrote:
> hi all,
>
> is there sombody who can helpme witht he following, i am ''pretty new'' to
> php and am looking for a script to show images randomly at a 10/ 15 seconds
> interval. is there anybody who can help me with this or does know where to
> find a good template script for this?
>
> thanks in advance,
> rene
>
>
you have to use java script or flash!
| |
| Nadine St-Amand 2005-05-27, 8:56 pm |
| rene willemsen wrote:
> hi all,
>
> is there sombody who can helpme witht he following, i am ''pretty new'' to
> php and am looking for a script to show images randomly at a 10/ 15 seconds
> interval. is there anybody who can help me with this or does know where to
> find a good template script for this?
>
> thanks in advance,
>
hmm
if you want to use php, it may be because you want to select php images
and order them randomly before to run the script.
I wrote a script who take randomly 10 images from a directory full of
images, create a random order from them and then generate (print the
code of) a javascript array that contains the images list.
I wrote javascript shading for the images transitions.
The shading (it disapear smoothly) is working on
IE/Netscape/mozilla/konqueror/safari
I can send the script to you, in exchange you just tell me the web site
you plan to use it on (so that i know to what i contributed).
Nadine St-Amand
nadine@coloria.ca
| |
| J.O. Aho 2005-05-28, 3:57 am |
| Gale wrote:
> rene willemsen wrote:
>
> you have to use java script or flash!
That is bulls**t, can be done in php, you would have been able to see my
replay if the original poster haden't been a stupid multiposter and done a
proper crosspost instead.
//Aho
| |
| Vincent THOREL 2005-05-29, 8:56 pm |
| rene willemsen wrote:
> hi all,
>
> is there sombody who can helpme witht he following, i am ''pretty new'' to
> php and am looking for a script to show images randomly at a 10/ 15 seconds
> interval. is there anybody who can help me with this or does know where to
> find a good template script for this?
>
> thanks in advance,
> rene
>
>
SELECT imagefile FROM images LIMIT 1 ORDER BY RAND();
:-)
| |
|
| On Sun, 29 May 2005 21:15:48 +0200, Vincent THOREL
<vincent.thorel@laposte.net> wrote:
>rene willemsen wrote:
>SELECT imagefile FROM images LIMIT 1 ORDER BY RAND();
>
>:-)
Which will give you an error. It should be
order by rand() limit 1
If the original poster had restricted his enquiry to just the one group
instead of multi-posting, s/he would have avoided non-sense like this.
Multi-post perhaps if you don't get an answer in your first choice of group;
to START by multi-posting is just plain stupid.
|
|
|
|
|