Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

random images
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



Report this thread to moderator Post Follow-up to this message
Old Post
rene willemsen
05-26-05 01:56 PM


Re: random images
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 second
s
> 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!

Report this thread to moderator Post Follow-up to this message
Old Post
Gale
05-27-05 01:58 AM


Re: random images
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 second
s
> 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

Report this thread to moderator Post Follow-up to this message
Old Post
Nadine St-Amand
05-28-05 01:56 AM


Re: random images
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

Report this thread to moderator Post Follow-up to this message
Old Post
J.O. Aho
05-28-05 08:57 AM


Re: random images
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 second
s
> 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();

:-)

Report this thread to moderator Post Follow-up to this message
Old Post
Vincent THOREL
05-30-05 01:56 AM


Re: random images
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.

Report this thread to moderator Post Follow-up to this message
Old Post
nemo
05-30-05 01:57 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP SQL archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 10:18 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.