Menu
Hi All,
I need to know how to switch on (or replace) the <?=$variable?> tags. I’ve installed a new wamp on a laptop and these tags don’t seem to be supported (php5.2.6).
When I run index.php, it inserts the literal <?=$variable?> instead of the variable value into the html code.
Any suggestions?
Note: The script is not for distribution. I’m not concerned about portability.
Cheers
CTB
Example code
[code=php]$somevalue = $result[‘somevalue’];
?>
<input type=’text’ value='<?=$somevalue?>’>
<?php