Jump to content

three statments


user4fun

Recommended Posts

statment 1

echo "<td><a href=http://\"".$row['website']."\" target=\"_blank\">{$row['website']}</a></td>";

results: http://%22TheDomain.com%22/i need it to be http//theDomain.com onlystatment 2

echo "<td><a href=\"mailto:\"".$row['Email']."?subject=external email\">email</a></td>";

Result: mailto:i need it to be: mailto:The result form $row['Email']statment 3

echo "<td><a href=\"../../feedback.php?website=\"".$row['website']."\"} target=\"_blank\"> feedback</a></td>";

Result: http://MyDomain.com/feedback.php?website=I need it to be: http://MyDomain.com/feedback.php?website=the results from $row['website']I will take any help i can get.Thank you all

Link to comment
Share on other sites

Hi.... I've checkd the follwoing code on myserver and its working fine here..Regards,Vijay------------------------------------------------------------------------------------------------------------$row['website']= "www.test.com";echo "<a href=\"http://".$row['website']."\" target=\"_blank\">".$row['website']."</a><br/>";$row['email']= "test@test.com";echo "<a href=\"mailto:".$row['email']."?subject=external email\" target=\"_blank\">".$row['email']."</a><br/>";echo "<a href=\"../../feedback.php?website=\"".$row['website']."\" target=\"_blank\"> feedback</a><br/>";

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...