Folks,
Can't see an answer anywhere in the archives, so here goes.
This works fine in plain html:
When I put it in PHP thus:
echo "";
When the page loads, I get an "Error: 'menuObj' is null or not an object"
The onoff() function is what contains the menuObj, so I suspect the single
quotes a
You are right, there is a reason I am echoing it in php, it is one result of
an if statement.
";
} else {
echo "";
}
?>
I tried echoing with single quotes - no change. So I compared the view
source of the double quoted php generated page and of the html generated
page - they are identical:
e
> the problem is with quoting 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 M
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 I
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 +0000
> To: Aaron Merrick <[EMAIL PROTECTED]>
>
5 matches
Mail list logo