I'm reading in to a variable $section1 an entire php file that creates a
mysql table. I can output the variable in a new file just fine (figured out
what all had to be escaped in the original file).
My problem is, I want to replace the table name in the original file with a
new table name before
Richard,
Thank you so much. That works perfectly. I knew it had to be something
simple.
Aaron
From: Richard Davey [EMAIL PROTECTED]
Reply-To: Richard Davey [EMAIL PROTECTED]
Date: Wed, 11 Feb 2004 15:04:44 +
To: Aaron Merrick [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP
You are right, there is a reason I am echoing it in php, it is one result of
an if statement.
?php if (basename($PHP_SELF) == index.php) {
echo body onload=\start();initialize();onoff('mainmenu',section,'on')\
onresize=\window.location.reload(false)\ topmargin=\1\
bottommargin=\0\
in there.
Have a look at your output in the browser (do a View Source or whatever
your Browser calls it), and check the JS your PHP application constructed.
You'll spot the error...
At 05:28 13.11.2002, Aaron Merrick said:
[snip]
Folks,
Can't see
Folks,
Can't see an answer anywhere in the archives, so here goes.
This works fine in plain html:
body onload=start();initialize();onoff('mainmenu',section,'on')
onresize=window.location.reload(false) topmargin=1 bottommargin=0
leftmargin=0 rightmargin=0
When I put it in PHP thus:
echo body
5 matches
Mail list logo