Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to include javascript in php

// simply echo the path anywehre in php you need

echo "<script src="script.js" type="text/javascript"></script>"
 
PREVIOUS NEXT
Tagged: #include #javascript #php
ADD COMMENT
Topic
Name
6+2 =