Caught that too! Thanks.
One last thing. When the information renders in the table on the page the website address (www.example.com) does not appear as a hyperlink. Is there any formatting that would make this a link instead of just text?
Again, Thanks.
Using "include"
Moderator: General Moderators
Re: Using "include"
Yeah sure,
Notice I have placed the http:// in the echo statement so if you already place the http:// reference in your links that are saved to your database then remove the http:// from the above code and everything should work just fine.
If you want them to open up in a new window then use the target="_blank" attribute:
Best wishes
Code: Select all
echo "<a href=\"http://".$row['Website']."\">".$row['Website']."</a>";
If you want them to open up in a new window then use the target="_blank" attribute:
Code: Select all
echo "<a href=\"http://".$row['Website']."\" target=\"_blank\">".$row['Website']."</a>";
Re: Using "include"
Yeah! Very exciting when everything works!!