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
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....

 

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.