[solved][56K WARN] php and javascript

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

User avatar
onion2k
Jedi Mod
Posts: 5263
Joined: Tue Dec 21, 2004 5:03 pm
Location: usrlab.com

Post by onion2k »

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.
User avatar
dharprog
Forum Contributor
Posts: 126
Joined: Fri Oct 27, 2006 12:20 am

Post by dharprog »

Hi

Hi Mr onion2k its really great. Actually i thought i cant make it. But its working really i'm happy.

A new line made the code working.

I 'm some what poor in javascript things thats why i got this problem.

But your help is really appreciable.

Thanks a lot really.

Thank you very much.
Post Reply