ansipants Posted October 1, 2011 Share Posted October 1, 2011 I know this is something simple: my script pulls the website url that is stored into the database. The issue is that when it displays the link information, when you click on it, instead of opening www.google.com, it tries to open to www.mydomain.com/www.google.com here is the table i have for it: <td><a href='$website' target='_new'>$website</a></td> Link to comment https://forums.phpfreaks.com/topic/248234-website-link/ Share on other sites More sharing options...
Pikachu2000 Posted October 1, 2011 Share Posted October 1, 2011 Don't leave the http:// off of the href= attribute. Link to comment https://forums.phpfreaks.com/topic/248234-website-link/#findComment-1274743 Share on other sites More sharing options...
ansipants Posted October 1, 2011 Author Share Posted October 1, 2011 wow i'm a tard ty! Link to comment https://forums.phpfreaks.com/topic/248234-website-link/#findComment-1274745 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.