Re: [PHP] passing values to a javascript variable

2001-06-22 Thread TunkeyMicket
- Original Message - From: "Romulo Roberto Pereira" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 21, 2001 3:38 PM Subject: [PHP] passing values to a javascript variable > Hello! > > The following give me: unterminated string constant (thi

Re: [PHP] passing values to a javascript variable

2001-06-21 Thread Joao Prado Maia
On Thu, 21 Jun 2001, Romulo Roberto Pereira wrote: > Hello! > > The following give me: unterminated string constant (this is a javascript > error) > > when I execute the following: > >while ($row = mysql_fetch_array ($data_query_action)) { > $data_data = $row["data_data"]; >} >

[PHP] passing values to a javascript variable

2001-06-21 Thread Romulo Roberto Pereira
Hello! The following give me: unterminated string constant (this is a javascript error) when I execute the following: while ($row = mysql_fetch_array ($data_query_action)) { $data_data = $row["data_data"]; } echo "\n var ndata=\"".addslashes($data_data)."\";\nPutCode (ndata);