+ 2
can I link JavaScript with PHP and how??
4 Answers
+ 3
use jquery
ajax to send and load data
+ 2
you can have PHP echoing javaScript like this:
<?php
$myName = "seamiki";
echo '<script>
alert("Hello '.$myName.'!!");
</script>';
?>
+ 1
xss? when you echo get or post variable is xss attack
- 1
x s, s,