{var} {str} in html
Posted: Wed Sep 03, 2003 1:21 pm
I read some where once upon a time that you can put your variables and strings in curly bracees in your html code and they will print out with out using echo. I am unable to find that source again.
Can anyone help me on this? Is the below example correct or what am I missing.
Thanks
John
ex save below code as john.htm or php?
Can anyone help me on this? Is the below example correct or what am I missing.
Thanks
John
ex save below code as john.htm or php?
Code: Select all
<?php
$strName = "John";
<?
<html><head><title></title></head><body>
<p>{$strName}</p>
</body></html>