Jump to content

Php Variable As A Link


niche

Recommended Posts

I want to show w3schools.com as a link from a PHP variable. This is what I wrote: How should I have written it?<html><head><body><?php$var ="http://www.w3schools.com/" ;?><a href= <?php $var ?> target="_blank" >w3schools Home</a></body></head></html>

Link to comment
Share on other sites

  • 1 month later...

Archived

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

×
×
  • Create New...