Posted: Tue May 29, 2007 6:58 am
The problem is that your javascript isn't working. The PHP is fine. You need to add a newline character "\n" where the PHP prints the javascript.
It concerns me that you say "it is not displaying anything" though. You don't appear to be using any sort of Javascript debugger. You really should because it'd make these sorts of problems really easy to fix. I'd recommend the Firebug extension for Firefox.
It concerns me that you say "it is not displaying anything" though. You don't appear to be using any sort of Javascript debugger. You really should because it'd make these sorts of problems really easy to fix. I'd recommend the Firebug extension for Firefox.