You are here: Re: Add href= tag to echo « PHP Programming Language « IT news, forums, messages
Re: Add href= tag to echo

Posted by Daniel Tryba on 11/13/27 11:21

Robertico <Robertico@nospam.notvalid> wrote:
> Is it possible to add a "href=" tag to an echo line.
>
> Something like this:
> echo "<b>$name</b>,<br>Sorry there's a problem sending your message. Please
> try <a href="/mail.html">again</a>";

Yes, it's possible. But your single line of code is flawed. You should
really find out how strings work in PHP:
http://www.php.net/manual/en/language.types.string.php
(pay attention to escaping and the use of ' and ")

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация