vincelewin
IS-IT--Management
Any one know how I can incorporate javascript into a php page, considering that php see's a semi colon as the end of the line and returns down to begin the next line as soon as it see this.
Im pretty sure that you cannot omit or replace this in php and other than ending the php just before typing the javascript and starting it again afterwards, I cannot think of how I can do this.
If there is an alternate character that can be used in the javascript then it can be incorporated directly into php.
I appreciate this is part php and part javascript question and wont be upset if I cant resolve it but am curios to see if anyone can shed any light.
Vince
Im pretty sure that you cannot omit or replace this in php and other than ending the php just before typing the javascript and starting it again afterwards, I cannot think of how I can do this.
If there is an alternate character that can be used in the javascript then it can be incorporated directly into php.
I appreciate this is part php and part javascript question and wont be upset if I cant resolve it but am curios to see if anyone can shed any light.
Vince