johnnyboy16 Posted March 3, 2010 Share Posted March 3, 2010 When I click the link it tacks the linked url of the end of the current page link, meaning it will generate something like this.... www.mywebsite.com/www.linkedsite.com <a style='color: #000; font-size: 12px; font-weight: normal;' href='".$row['Website']."'>".$row['Website']."</a>"; Thanks for the help! Link to comment https://forums.phpfreaks.com/topic/194032-404-error/ Share on other sites More sharing options...
teamatomic Posted March 3, 2010 Share Posted March 3, 2010 And your question is what? HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/194032-404-error/#findComment-1021029 Share on other sites More sharing options...
johnnyboy16 Posted March 3, 2010 Author Share Posted March 3, 2010 Ooops sorry about that... My question is how do I get the link to work properly as opposed than behaving like it is. I'm new to PHP and am not sure what i'm doing wrong Thanks Link to comment https://forums.phpfreaks.com/topic/194032-404-error/#findComment-1021035 Share on other sites More sharing options...
teamatomic Posted March 3, 2010 Share Posted March 3, 2010 Show how you build the link. HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/194032-404-error/#findComment-1021037 Share on other sites More sharing options...
johnnyboy16 Posted March 3, 2010 Author Share Posted March 3, 2010 Website url </td> <td> <input type='text' name='website' value='<?php echo $row['Website'];?>' style="width: 250px; margin-right: 100px; <?php if(!empty($errors['website'])){echo "border: 1px solid #cc3300;";}?>"/> </td> Link to comment https://forums.phpfreaks.com/topic/194032-404-error/#findComment-1021040 Share on other sites More sharing options...
teamatomic Posted March 3, 2010 Share Posted March 3, 2010 Thats a form input. Not a link or anything close to one. HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/194032-404-error/#findComment-1021044 Share on other sites More sharing options...
johnnyboy16 Posted March 3, 2010 Author Share Posted March 3, 2010 <a href='".$row['Website']."'>".$row['Website']."</a>"; Link to comment https://forums.phpfreaks.com/topic/194032-404-error/#findComment-1021049 Share on other sites More sharing options...
teamatomic Posted March 3, 2010 Share Posted March 3, 2010 Unless you loop through building the link in two part what you show does not make the link you give in your original post. What you give as the build example should be like: <a href=domainxxx.com>domainxxx.com</a> your link example shows: <a href=domainxxx.com>domainyyy.com</a> Try showing all of the relevant code if you want help. HTH Teamatomic Link to comment https://forums.phpfreaks.com/topic/194032-404-error/#findComment-1021053 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.