Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

write php in javascript

<script type="text/javascript">
	var myString = '<?php echo 1+1; ?>';
</script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #write #php #javascript
ADD COMMENT
Topic
Name
9+2 =