To embed php var, write it like this <?= $variable ?>. Notice the ?<?=? it looks like ?<%=? in JSP From: php-objects@xxxxxxxxxxxxxxx [mailto:php-objects@xxxxxxxxxxxxxxx] On Behalf Of vahid tonal Sent: Monday, September 17, 2007 3:39 AM To: php-objects@xxxxxxxxxxxxxxx Subject: php variables in a link html tag hi all; I want to use a php variables in a link html tag. i wrote a statment like below but it doesnt work . what should i do <a href=""style="text-decoration'>HYPERLINK "http://localhost/kanoon/"http://localhost/kanoon/<?$temp?>"style="text-deco ration: none"><? echo $temp; ?> </a> it is realy emergency. thanks. --------------------------------- Don't let your dream ride pass you by. Make it a reality with Yahoo! Autos. [Non-text portions of this message have been removed] No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.487 / Virus Database: 269.13.21/1010 - Release Date: 9/15/2007 7:54 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.487 / Virus Database: 269.13.21/1010 - Release Date: 9/15/2007 7:54 PM [Non-text portions of this message have been removed]