Wednesday, April 26, 2017

How to include Javascript file in php file

How to include Javascript file in php file
How to include Javascript file in php file?

    <script type="text/javascript" src="example.js"></script>

Sample example.js file content:

function _encrypt($in)
{
    /*Your code here*/
    return $out;
}

function _decrypt($in)
{
    /*Your code here*/
    return $out;
}

No comments:

Post a Comment