Re: [BULK] Re: [PHP] Apply the hyper link ( javascript functon ) with php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



edwardspl@xxxxxxxxxx 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:

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





--
Regards,

Clive

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux