Hi,
I am lost. I need to know if something like the following is possible:
1st, I am having problems with syntax errors and
2nd, The variables are created and initiated in a file that calls this file. The variables are used once, but it seems as soon as they are used, they are no longer defined, and so I get an error for that as well.
I would appreciate any help I can get.
Thanks in advance.
I am lost. I need to know if something like the following is possible:
Code:
<?php
if($flamt>0) {
"<img src='[URL unfurl="true"]http://www.mydomain.com/affiliate/scripts/sale.php?TotalCost="{$flamt}"&ProductID=001'[/URL] width=1 height=1>";
}
if($blamt>0){
echo "<img src='[URL unfurl="true"]http://www.mydomain.com/affiliate/scripts/sale.php?TotalCost="{$blamt}"&ProductID=002'[/URL] width=1 height=1>";
}
?>
1st, I am having problems with syntax errors and
2nd, The variables are created and initiated in a file that calls this file. The variables are used once, but it seems as soon as they are used, they are no longer defined, and so I get an error for that as well.
I would appreciate any help I can get.
Thanks in advance.