Hello, Sorry... If the hyper link is : <a href=javascript:popup('/$dir/index.htm')> Test </a> So, how to apply the echo tag for it ? Remark: $dir is php variable... Edward. J R wrote: > echo '<a href="javascript:popup(\'index.htm\')"> Test </a>'; > > On 10/9/06, edwardspl@xxxxxxxxxx <edwardspl@xxxxxxxxxx> wrote: > >> >> Dear All, >> >> How to apply the following function with php ? >> <a href=javascript:popup('index.htm')> Test </a> >> >> Edward. >> >> -- >> PHP General Mailing List (http://www.php.net/) >> To unsubscribe, visit: http://www.php.net/unsub.php >> >> > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php