show the direct link into href

Posted on 16th Feb 2014 01:33 pm by admin

I want to display link on the page. i am fetching the data(URL) from database,actually before that i am checking if it is URL or not. if it is URL, let take an example so it should take me directly on the Google's page after clicking on that link .

but now the problem is the path is something like this.

Quote mydomain/myfolder/mysubfolder/
i want directly

Here is my code

Code: [Select]if($row['which_mail'] == "decline")


$ab = $row['content'];
echo $ab ;
// echo "<b>Last message for decline mail is</b>-".<a href='$ab'>".$row['content']."</a>.";

echo "<a href='$ab'>".$row['content']."</a>";

$decline =$row['content'];

echo "<b>Last message for decline mail is</b>- $decline";

Can anyone look into my code and tell me how can i achieve that?

Thanks in advance.

No comments posted yet

Your Answer:

Login to answer
187 Like 19 Dislike
Previous forums Next forums
Other forums

To add a field on the screen XK02.
Hi All,

How to add an additional field in the vendor change control screen XK02.

Open browser page depending on XML results

I have some PHP code that sends webbased from data to an external url ( in the form of

Replica Rolex Lady-Datejust Watch: White Rolesor - combination of 904L steel and 18 ct white gold C M179174-0028 [fa7d] - $203.00 : Professional replica watches stores,
[b][url=]swiss replica watches aaa+[/url][/b] [b][url=http://www.luxu

How would I protect......
I have a from, actually, a good amount of forms. How can I make it so you can't type the characters:

Mont Blanc Refill
[b][url=]montblanc kynä[/url][/b] [b][url=http://www.montbla

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Google+ Indyaspeak @ Pinterest RSS