PHP 4.2.2
| From: | PHP5 at aagthosting dot com | Date: | Sun, 04 Sep 2005 06:11:37 +0000 |
| Subject: | PHP 4.2.2 | ||
| Groups: | php.gtk.general | ||
| Request: | Send a blank email to php-gtk-general+get-6191@lists.php.net to get a copy of this message | ||
I am using php4.2.2 and I am writing a script that retrieves images from a
database.
Here is my select statement.
select picture1, picture2
from pghome
where homeId = $homeId
and picture1 = $picture1
and picture2 = $picture2;
I have a php script that has an echo statement that calls the php script that
has the above select statement.
My echo statement looks like this.
echo "/n/t<td width=\"191\" rowspan=\"2\"
valign=\"bottom\">" .
"<img src=\"homePageImages.php?homeId=" .
$homeId . "\">";
I need to be able to call this URl with a string that asks for homeId and
picture1. I will have another echo statement that asks for homeId and picture2.
What should my string look like?
Greg
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.