Jump to content

PHP variable in HTML


champbronc2

Recommended Posts

<?
$lole=$_COOKIE["usNick"]; require("config.php"); echo $url; ?>/register.php?r=<? echo $lole;
$refurl="echo $url; ?>/register.php?r=<? echo $lole" ;
?>
<h3>Tools to help you get referrals!<br> Earn the most out of ChampBux that you can!</h3><br>
<img src="http://www.champbux.com/banner1.png"><br>
<textarea name="forum" cols="45" rows="3" readonly="readonly">[url=$refurl][img=http://www.champbux.com/banner1.png][/url]</textarea>

 

$refurl is showing the correct value, but where it says it is actually putting $refurl

 

How can I fix that?

Link to comment
https://forums.phpfreaks.com/topic/127610-php-variable-in-html/
Share on other sites

Archived

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

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.