using php variables in html
Posted: Tue Jul 06, 2004 10:52 pm
Hi...
I've written html code and included some php part in it to retrieve (some product information)from the database(mysql). I've the product info retrived into php variables. I don't know how to use these variables in the actual html code.
below is the html code. I want to use a php variable(say, $product) instead of "xxx" in the following code:
<em><img src="xxx" align="bottom" width="70" height="109"></em>
Any help is appreciated.
Thank you
I've written html code and included some php part in it to retrieve (some product information)from the database(mysql). I've the product info retrived into php variables. I don't know how to use these variables in the actual html code.
below is the html code. I want to use a php variable(say, $product) instead of "xxx" in the following code:
<em><img src="xxx" align="bottom" width="70" height="109"></em>
Any help is appreciated.
Thank you