PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
eeau1973
Forum Commoner
Posts: 27 Joined: Sat Aug 19, 2006 4:49 pm
Post
by eeau1973 » Tue Aug 07, 2007 12:49 pm
hi friends ...
Maybe for all of you this post sound like a joke, but the case is that I cannot write a messages with the echo sentence ...
Code: Select all
echo " <a href=\"$PHP_SELF?s=$news&q=$var\">Next 10 >></a>";
This works ! ...
but this is not working ...
Code: Select all
echo " <a href=\"www.google.com">Visit google</a>";
Would you please give me some help? I need to show to the user a link to visitit a web page ... (in this case
http://www.google.com )
thanks in advance ..
greetings
thiscatis
Forum Contributor
Posts: 434 Joined: Thu Jul 20, 2006 11:00 am
Post
by thiscatis » Tue Aug 07, 2007 12:52 pm
should be
Code: Select all
echo " <a href=\"www.google.com\">Visit google</a>";
Can you see the difference?
eeau1973
Forum Commoner
Posts: 27 Joined: Sat Aug 19, 2006 4:49 pm
Post
by eeau1973 » Tue Aug 07, 2007 1:07 pm
I don't see the diference !
What is the problem ?
Thanks a lot !
eeau1973
Forum Commoner
Posts: 27 Joined: Sat Aug 19, 2006 4:49 pm
Post
by eeau1973 » Tue Aug 07, 2007 1:11 pm
Well I see the diference now ... a "\"
thanks again !