<?php echo "<a href=\"".$sql_slct->f("link_url")."\" target=\"_blank\">".$sql_slct->f("link_title")."</a>"; ?>
the above code will produced an output like this:
http://localhost/msuptplportal/app/cedec/www.softboxkid.com
How can I redirect the user to the last path which is http://www.softboxkid.com everytime user click the hyperlink?
If by last path, you mean the URL where the user came from, you can use that:
EDIT: What I think you want is to remove the whole …localhost… thingy. That you can do like this: