Re: Looking for a JavaScript routine built by PHP and populated from MySQL
| From: | Dan Brunner | Date: | Thu, 08 Nov 2001 22:32:14 +0000 |
| Subject: | Re: Looking for a JavaScript routine built by PHP and populated from MySQL | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14160@lists.php.net to get a copy of this message | ||
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 <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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net For additional commands, e-mail: php-db-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net