You are using singles ' then you are doing "". and it should be "" '.
etc

Try:

printf('<tr><td><a href="'. $row1["url"]
.'">Fotografía%s&nbsp</a></td></tr>', $i);


Timothy Hitchens (HiTCHO)
Open Source Consulting
e-mail: [EMAIL PROTECTED]

> -----Original Message-----
> From: Ezequiel Sapoznik [mailto:[EMAIL PROTECTED]] 
> Sent: Wednesday, 15 January 2003 11:10 AM
> To: [EMAIL PROTECTED]
> 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&nbsp</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
> 


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to