faqts

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 12 people (42%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

Can 1 file contain javascript and php? and how to differentiate beteween the two if so??

Mar 28th, 2002 13:39
Suffolk Computer Services, nano maus,


All PHP code must be inside php tags i.e. <?   ?>

All HTML and Javascript code will be outside these tags, so the PHP 
processor knows the difference.