Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Sign In
Not a member yet? Click here to register.

add_to_footer

Sometimes you have to add for example JavaScripts to the end of the site.
This function adds the code directly before the </body> tag.

add_to_footer

Quote

add_to_footer ( string $tag )


Example
Code
<?php
add_to_footer("<script type='text/javascript' src='counter.js'></script>");
?>


Changelog
7.02.00 - Function added to PHP-Fusion


See also …


References