Hello,
I have the situation where I need to have a string where I need to include a PHP tag. Like $myString = "this is my string <?php echo $andthisismytag ; ?>".
Constructing the string is OK without errors but then when I echo it it's empty where the PHP tag used to be. In fact it is an SQL INSERT INTO string, but I never get as far as to executing the query. The problem is in the actual string.
Any clues?
Thanks!
I have the situation where I need to have a string where I need to include a PHP tag. Like $myString = "this is my string <?php echo $andthisismytag ; ?>".
Constructing the string is OK without errors but then when I echo it it's empty where the PHP tag used to be. In fact it is an SQL INSERT INTO string, but I never get as far as to executing the query. The problem is in the actual string.
Any clues?
Thanks!
Comment