Monday, 12 March 2018

How can you use php in a javascript function


$num = 1;
echo $num;
?>
name="lol"

value="Click to increment"
onclick="Inc()" />





This is what i have so far, not working though, i think i need to use ajax or something but i have no idea what to do.



Thanks

No comments:

Post a Comment

casting - Why wasn't Tobey Maguire in The Amazing Spider-Man? - Movies & TV

In the Spider-Man franchise, Tobey Maguire is an outstanding performer as a Spider-Man and also reprised his role in the sequels Spider-Man...