I need a help here, There's an error every time I add a link in my php file.
Example:
<php
$link = "twitter.com";
echo "<a href = '".$link."'> link </a>";
?>
on click, the address would be change on "http://localhost/project/twitter.com" whch is supposed to be "twitter.com"
I've tried placing
<?php
$link = "twitter.com";
echo "<a href = '../../".$link."'> link </a>";
?>
but still it doesn't work. $link is stored in the database.
I'm new here. Please help me.