Jump to content

HRRF uRl in echo statement


rajeshatbuzz

Recommended Posts

Hi,

 

I am using php 5.3.4 and try to add some url link under echo statement n found some useful code from google. but it seems its working..

 

any idea??

 

echo "<a href=\"http://www.your link here.com\">Click here</a>";

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

 

What is the correct code to add href under echo statement..

 

Another Questions.

 

How to call another php form inside echo statement?

Link to comment
https://forums.phpfreaks.com/topic/241311-hrrf-url-in-echo-statement/
Share on other sites

yes, Following pattern worked for me..I was  making some mistake in syntax..

 

echo "<a href=\"http://www.your link here.com\">Click here</a>";

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

 

Worked for me...

echo "<a href=\"http://localhost/dbSize/AddNewServer.php\">Click here</a>";

 

but still i am looking for following code to be worked...

 

echo "<a href="AddNewServer.php">Click here</a>";

 

where AddNewServer.php is in same directory....

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.