Re: [PHP-DB] Looking for a JavaScript routine built by PHP and populated from MySQL

2001-11-08 Thread Dan Brunner

Hello!!

So you have a page that show pics and you want to have something that 
show the next and back url...right???


Dan


On Thursday, November 8, 2001, at 04:23 PM, Doug Daulton wrote:

> Hello,
>
> I need to build a chunk of code which creates a click through view of 
> all
> pictures in a given directory.  The URL for each image is stored in a 
> MySQL
> table as part of the image upload routine.  I am thinking there would 
> be PHP
> routine that says something like ...
>
> 1. (PHP) - For every  create an array filled with product image
> URLs
> 2. (JavaScript) - Display array value(av) 1 ... assign av2 as href for 
> "next
> button"
> 3. (JavaScript) - In click next, display av2, set href for "next" to 
> av3,
> set href for "previous" to av1
> 4. (JavaScript) - At end of array, reset next to av1 (create loop)
>
> Does that description make sense?  Has anyone already written a similar
> beast?  I am in a time crunch, any and all help is appreciated.
>
> Regards,
>
> Doug Daulton
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DB] Looking for a JavaScript routine built by PHP and populated from MySQL

2001-11-08 Thread Doug Daulton

Hello,

I need to build a chunk of code which creates a click through view of all
pictures in a given directory.  The URL for each image is stored in a MySQL
table as part of the image upload routine.  I am thinking there would be PHP
routine that says something like ...

1. (PHP) - For every  create an array filled with product image
URLs
2. (JavaScript) - Display array value(av) 1 ... assign av2 as href for "next
button"
3. (JavaScript) - In click next, display av2, set href for "next" to av3,
set href for "previous" to av1
4. (JavaScript) - At end of array, reset next to av1 (create loop)

Does that description make sense?  Has anyone already written a similar
beast?  I am in a time crunch, any and all help is appreciated.

Regards,

Doug Daulton



-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]