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

How to display value in drop down list after form has been reloaded
Please bear with me as I am very new to php and html.

I have a form with several drop down me

problem with array - multilingual page
this is my test page :
Code: <?php
if(isset($_GET['lang'])) {
if($_GET['la

HTML Email rec'd as Source Code
The code does create and send the email successfully. However, the message shows as html code and n

Delete all files in folder except with certain name
I have a script that I want to delete all files in a folder (taken from a database) except for one n

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

CODE NOT WORKING
Code: [Select]<?php
//include shared codes

include '../lib/common.php';
include

Quick variable question
hey guys/gals,
im trying to write a php script and it works fine as i have it, but i need to set

Form validation with functions
Hi there

I am trying to make a very simple form validation function. I currently have the fol

output printing as hexadecmal... XD
Everything works except the calcem call for the totusold and totuprice. The out put shows up as hex.

problem in pagination when processing with selectbox form
Hi,

I have a search form, with select boxes, if am selecting the value from the form, it work

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