Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Fw: [PHP] Display Image (correcting myself) :P

0 views
Skip to first unread message

Chris Schneck

unread,
Aug 18, 2001, 10:31:58 PM8/18/01
to php-g...@lists.php.net

echo "<img src=\"".$row["picture"]."\">" . $row["description"] . "";

----- Original Message -----
From: "Chris Schneck" <ch...@hubcityhosting.com>
To: <php-g...@lists.php.net>
Sent: Saturday, August 18, 2001 7:29 PM
Subject: Fw: [PHP] Display Image


> echo "<img src=\"".$row["picture"]."\">" . $row["description"] . "
>
>
> ----- Original Message -----
> From: "Andonny" <w...@multiline.com.au>
> To: <php-g...@lists.php.net>
> Sent: Saturday, August 18, 2001 7:27 PM
> Subject: [PHP] Display Image
>
>
> > Hi,
> > I tried below to display the picture on the webpage. I have in the
pcture
> > column a http address.
> >
> > echo "<img src=\"$row["picture"]\">" . $row["description"] . "
> >
> > and I get this:
> >
> > Parse error: parse error, expecting `T_STRING' or `T_VARIABLE' or
> > `T_NUM_STRING'
> >
> > Your help is very much appreciated.
> > Andonny
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: php-general...@lists.php.net
> > For additional commands, e-mail: php-gene...@lists.php.net
> > To contact the list administrators, e-mail: php-lis...@lists.php.net
> >
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general...@lists.php.net
> For additional commands, e-mail: php-gene...@lists.php.net
> To contact the list administrators, e-mail: php-lis...@lists.php.net
>

Seb Frost

unread,
Aug 18, 2001, 10:37:18 PM8/18/01
to php-g...@lists.php.net
I always split it up if I'm having errors...

echo "<img src=\"";
echo $row["picture"];
echo "\">";
echo $row["description"];

- seb

0 new messages