php variables in 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

Post Reply
kippy
Forum Commoner
Posts: 84
Joined: Wed Jun 07, 2006 8:25 pm

php variables in javascript

Post by kippy »

I went into the javascript and created variables, where I stored the $phpVar. The javascript is now displaying blank. Any thoughts on where to begin my hunt? I have attempted many different ways to incorporate the php variables, such as echoing the entire javascript snippet and well as placing the php tags and echo the variable into the javascript variable. Any help is greatly appreciated...
User avatar
John Cartwright
Site Admin
Posts: 11470
Joined: Tue Dec 23, 2003 2:10 am
Location: Toronto
Contact:

Post by John Cartwright »

without seeing your code theres little we can suggest :?
Post Reply