single ' will work fine. :) not double
On Fri, 20 Aug 2004 11:49:10 +0200, aRZed [EMAIL PROTECTED] wrote:
?php
print(
if (document.rpcjs_louie.ColCustName.value == \\) { walangfield +=
\Missing: Firstname\n\; }
);
?
try simply escaping the \ before the n with an additional \ or
?php
print(
if (document.rpcjs_louie.ColCustName.value == \\) { walangfield +=
\Missing: Firstname\n\; }
);
?
try simply escaping the \ before the n with an additional \ or in
other words: use \\n instead of \n. PHP will interpret \\ as an \.
--
PHP General Mailing List (http://www.php.net/)
To
Got it.
use ' and not
because php reads if its under
On Fri, 20 Aug 2004 11:10:24 +0800, Louie Miranda [EMAIL PROTECTED] wrote:
Im having problems. Because my javascript is inside a PHP code.
Now below are 1 line code of a print function that display this on the
html header.
i must put \n
Valentin wrote:
Hi,
Is any way to write JavaScript code into PHP function or to send PHP's
variables values to the JScript variables?
Thanks,
Of course, you can create dynamicaly javascript via php, ie:
echo
script language=\JavaScript\
var yourvar = $onephpvar ;
/script ;
Is that what you
Thank you Vincent!
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Not unless you pass the variable to the next page explicitly. You can do
this by either encoding it into the URL of the next page:
http://your.com/page.php?var=value or by putting the variable into an HTML
form and submitting it.
regards,
Mikey
Kemu [EMAIL PROTECTED] wrote in message
[EMAIL
You need to define the type of file you are creating.
Like when you create wml pages with php.
Header(Content-Type: text/javascript);
or summing to that effect.
have a look at www.weberdev.com
Mp [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi, php-general,
Larry Linthicum wrote:
I am finding that the simple ? session_start(); ?
is causing pages with JavaScript menus to load with 'error on page and the
JavaScript to not work
the session without the JavaScript seems fine, as does the JavaScript
without the session ( I can do other things in
8 matches
Mail list logo