quote:
Originally posted by gfd
quote:
Originally posted by dudboi
u can insert html into php files but not php in html files...kinda confusing right...coz in actual fact you can mix html and php together, but then again you cant ...lol
yes it's pretty confusing I don't know how to completely program PHP but I think I know how it works... and actually you put php inside html, don't you? of course, the file is .php but INSIDE the html you open <php? or something like that I now don't remember and when you close that tag you can use html again... maybe i'm wrong... but anyway, that's not the point of this thread
Hehe, are you guys confused?
Here is how it works. Php i like asp it runs on the server, and the client can only see the result, and PHP is placed INSIDE the html document. "phpmode" kan be opened by serveral ways:
1. <?php
2. <?
3. <script language="php">
With nb. 1 and 2 you will close phpmode by inserting ?> and the third is done by </script> Hope that can help.
Kaare / Kastermester