How to use Javascript in PHP?
how can i use java scripts in PHP
Replies
-
Ankita Katdare#-Link-Snipped-# What is it that you want to do? Please ask specific questions.
Else this will help -
Using PHP and Javascript together – iTamer -
siraj.mussafirrMake clear the question. Do you want to load a php file and run javascript on the client browser ? Or do you wish to run javaScript at Server side?
-
Arul Prakashwant to load a php file and run javascript on the client browser
-
Uday BidkarWhatever you write outside the php delimiters (most commonly used open/close delimiters are "") does not get processed by the PHP processor at server end and gets sent directly to the client as it is. So you can embed the javascript directly in your PHP file or can also point to external js file as you would do in plain HTML, outside the PHP delimiters
-
siraj.mussafirrJust print out the link for JS in the same way you do with HTML.
This is a basic code snippet this would probably do:
echo "";
?> -
Arul Prakashthank you dude....!
You are reading an archived discussion.
Related Posts
friends i wnat to make mobile os in my final year project. is it possible??
any 1 can help me??
Can anyone help me in suggesting and choosing a good SHORT TERM course for B.E ECE graduate?Like networking...or anyother...also i have a doubt whether its necessary to take CISCO ONLINE...
my operating system is windows 7 64 bit operating system,please tell from where i can install turbo c so that i can practice programs.😀
As the name specifies i m not such a cool gal..
presently, in training with Wipro on Unix-C sys..
Nationalism is all about our origin of blood and Globalization is all about our living😀 . So we can't separate this two terminologies from there relation. We all know that...