Webmaster Forums - Webmaster forum for HTML, PHP, ASP, CSS and more - View Single Post - Inline PHP in HTML
View Single Post
Old 01-06-2010, 06:56 PM   #4 (permalink)
vanguard
Junior Member
 
Join Date: Jan 2010
Posts: 4
Default Re: Inline PHP in HTML

for future readers, just to let you know that PHP is a server-side language. It cannot be activated from within an HTML document, it only runs when someone accesses a page, and is used to create dynamic contents on the page to send to the user. therefore, by calling the php function above, the code within the php function was executed and the <script>...</script> was added to the page before being sent to the user.
vanguard is offline   Reply With Quote
Sponsored Links