PHP and Javascript


Posted on 16th Feb 2014 07:03 pm by admin

Hello Everyone,

I have a page that needs a javascript code to be written between PHP code but the condition is that javascript code should not be executed. How can I prevent javascript code to be executed?

Did you know?Explore Trending and Topic pages for more stories like this.
Please suggest...
No comments posted yet

Your Answer:

Login to answer
187 Like 16 Dislike
Previous forums Next forums
Other forums

"GROUP BY" in arrays
Well i'm looking to do something i usually could do easily using COUNT and GROUP BY if it was a sql

What are causes of a connection-timeout with fopen()?
Hello! Here is the situation: The server I host my website on just upgraded it's PHP build from 4.4.

Firefox displaying PHP source code??
Currently testing a site thats almost built, am going to be including php on a sidebar on all pages

unexpected T_SL without a shift left token
Nothing too see here, I'm an idiot and resolved the problem.

Warning: Cannot modify header information - headers already sent by (output sta
Warning: Cannot modify header information - headers already sent by (output started at /home/praylif

Images in email problem
I found this script for sending emails, it works but if the email has <img src="image.jp

please, need help coding this voting for your favorite car polling system.
hi, my code needs a lot of work, but i want to be able to let users vote on their favorite car, upda

re calling a function without including file
Hi,
i am new to programming in php, i was just checking the wordpress code and found out in the w

utl_file open error
i have file in the unix path

Path /popdev01/pop/popdevb/tfi/

File name

is this the proper use of mysql_real_escape_string() to prevent sql injections?
i was wondering is this the proper use of mysql_real_escape_string() to prevent sql injections? any

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash