Re: [BULK] Re: [PHP] Apply the hyper link ( javascript functon ) with php
| From: | clive | Date: | Mon, 09 Oct 2006 12:35:26 +0000 |
| Subject: | Re: [BULK] Re: [PHP] Apply the hyper link ( javascript functon ) with php | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-242840@lists.php.net to get a copy of this message | ||
edwardspl@ita.org.mo wrote:
Hello, Sorry... If the hyper link is : <a href=javascript:popup('/$dir/index.htm')> Test </a> you want to use double quotes echo " "; instead of single quotes echo ' ';the double quotes will parse any variables it finds, where as the single quotes will simply just echo what every you place between them. clive
So, how to apply the echo tag for it ? Remark: $dir is php variable... Edward. J R wrote:-- Regards, Cliveecho '<a href="javascript:popup(\'index.htm\')"> Test </a>'; On 10/9/06, edwardspl@ita.org.mo <edwardspl@ita.org.mo> wrote: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.phpDear All,