RE: [PHP] <a href> question
| From: | Timothy Hitchens \(HiTCHO\) | Date: | Wed, 15 Jan 2003 01:16:57 +0000 |
| Subject: | RE: [PHP] <a href> question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131637@lists.php.net to get a copy of this message | ||
You are using singles ' then you are doing "". and it should be "" '.
etc
Try:
printf('<tr><td><a href="'. $row1["url"]
.'">Fotografía%s </a></td></tr>', $i);
Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: tim@hitcho.com.au
> -----Original Message-----
> From: Ezequiel Sapoznik [mailto:ezequiel@mibbva.com.ar]
> Sent: Wednesday, 15 January 2003 11:10 AM
> To: php-general@lists.php.net
> Subject: [PHP] <a href> question
>
>
> Anyone can tell me what is wrong with the following sentence?
>
> printf('<tr><td><a href="" . $row1["url"] .
> "">Fotografía
> %s </a></td></tr>', $i);
>
> if $row1["url"] is ../images/anything.jpg
>
> the plain HTML should be:
>
> <tr><td><a href="../images/anything.jpg
> ">Fotografía</a></td></tr>
>
> Thanks!
>
> Ezequiel
>
>
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>