Answer Posted / vivek srivastava
You can write Java Script in PHP in a very simple way so as
I did:
<?php
some php code...
?>
<script type="text/javascript">
function someFun()
{
function code....
}
</script>
<?php
some php code...
?>
Is This Answer Correct ? | 72 Yes | 18 No |
Post New Answer View All Answers
Is variable name casesensitive in php?
What is php addslashes?
How be the result set of mysql handled in php?
What is namespace in php?
How can we make a constant in php?
How do I end a php session?
what is the use of include_once in php?
What is final class and final method?
How we get ip address of client, previous reference page etc?
How to return a value back to the function caller?
How to find a substring from a given string in php?
What is the super method?
Does php use html?
What does the unset() function means?
Which variable declarations within a class is invalid in php?