Hello,
I have a php code within a javascript. The javascript gets invoked on button click. The php code withing javascript never gets executed. I don't face the same problem in other browsers.
Please help me for that..
Thanks,
Cole
problem with php code inside a javascript
Moderator: General Moderators
- social_experiment
- DevNet Master
- Posts: 2793
- Joined: Sun Feb 15, 2009 11:08 am
- Location: .za
Re: problem with php code inside a javascript
In which browsers does it work?Cole001 wrote: I don't face the same problem in other browsers.
Are you trying to execute php code because it will have to be submitted to the server as it is server side code
“Don’t worry if it doesn’t work right. If everything did, you’d be out of a job.” - Mosher’s Law of Software Engineering