Looking for a JavaScript routine built by PHP and populated from MySQL

From: Date: Thu, 08 Nov 2001 22:23:24 +0000
Subject: Looking for a JavaScript routine built by PHP and populated from MySQL
Groups: php.db 
Request: Send a blank email to php-db+get-14159@lists.php.net to get a copy of this message
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 <product> 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

« previous php.db (#14159) next »