Re: Quotes?

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

 



On Tue, 5 Sep 2006, Gustav Wiberg wrote:

I want to save this to a string...

<script language="javascript">
var uri = 'http://impse.tradedoubler.com/imp/img/16352388/1122503?' + new String (Math.random()).substring (2, 11); document.write('<a href="http://clk.tradedoubler.com/click?p=48859&a=1122503&g=16352388"; target="_blank"><img src="'+uri+'" border=0></a>');
</script><br><br>


How could i type?

Escape " and ', like this: \" and \'.

--
 21:50:04 up 2 days,  9:07,  0 users,  load average: 0.92, 0.37, 0.18
---------------------------------------------------------
Lic. Martín Marqués         |   SELECT 'mmarques' ||
Centro de Telemática        |       '@' || 'unl.edu.ar';
Universidad Nacional        |   DBA, Programador,
    del Litoral             |   Administrador
---------------------------------------------------------
-- 
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