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 method.


----- Original Message -----
From: "Scott" <[EMAIL PROTECTED]>
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
> able to display the images in a popup window using javascript.  But I
> 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
> 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 (
> To unsubscribe, visit:

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to