DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   Urgent help with "echo" properties (http://www.daniweb.com/forums/thread8633.html)

Jessica Lares Jul 29th, 2004 10:36 pm
Urgent help with "echo" properties
 
Hello! I am in need of help with some coding here: http://www.potterprophet.com/html/index.php

I am trying to include links in where my echo is, but I come up with a error everytime I use URL tags, such as:

<a href="index.php">Blah</a>

Here is the PHP coding:

[PHP]@openside("The Movies");
echo "content";
@closeside();[/PHP]

I want my URL links to apper in where it says "content". What should I do?

Thanks in advanced!

Killer_Typo Jul 30th, 2004 5:41 am
Re: Urgent help with "echo" properties
 
[PHP]echo "<a href=\"http://www.your link here.com\">Click here</a>";[/PHP]

that should work.

or

[PHP]echo "<a href='http://www.your link here.com'>Click here</a>";[/PHP]

Jessica Lares Jul 30th, 2004 11:23 am
Re: Urgent help with "echo" properties
 
Quote:

Originally Posted by Killer_Typo
[PHP]echo "<a href=\"http://www.your link here.com\">Click here</a>";[/PHP]

that should work.

or

[PHP]echo "<a href='http://www.your link here.com'>Click here</a>";[/PHP]

YOU'RE A LIFESAVER! :D Cheers!


All times are GMT -4. The time now is 3:49 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC