hello i want this
<?PHP $str1="<?php echo $HTTP_GET_VARS[\"var1\"]; ?>" ... some code ?>
but this error occurs : Parse error: parse error, expecting T_STRING' orT_VARIABLE' or `T_NUM_STRING' in line 2
T_STRING' or
what shoud i do?
This is just a guess by try this
<?PHP $str1="$HTTP_GET_VARS[\'var1\']"; ... some code ?>
no! i want "<?php echo $HTTP_GET_VARS[\"var1\"]; ?>" to send by email function for body of email
Be more specific here....
Lets say $var1 = "someVariable"
Do you want it to print "<?php someVariable ?>"
Or do you want the literal string of "<?php echo $HTTP_GET_VARS[\"var1\"]; ?>"
?
try that:
<?PHP $str1="<?php echo $HTTP_GET_VARS[\"var1\"]; ?>" ... some code ?>