Re: php and javascript

From: Date: Tue, 26 Mar 2002 04:32:39 +0000
Subject: Re: php and javascript
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-90153@lists.php.net to get a copy of this message
Your popup window should be an normal PHP page calling your images in the database. You can then setup your form to call the popup windows via javascript using the window.open() method. /dkm ----- Original Message ----- From: "Scott" <gildedpage@comcast.net> To: <php-general@lists.php.net> Sent: Monday, March 25, 2002 6:13 PM Subject: [PHP] php and javascript > I have some image urls that I have stored in a mysql database. I want to be > able to display the images in a popup window using javascript. But I haven't > been able to figure out how to get the get the info to mysql so that the > image loads when the popup window appears. Below is an example of the form > without any javascript. > > <form action="test.php" method="post"> > <INPUT type="submit" value="See Photo" name="button"> > <INPUT type="hidden" name="item_no" value="<?php echo > "$item_no"; ?>"> > </form><br><br> > > Any help appreciated. > Thanks, > SW > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#90153) next »