0
PHP is inside of html?
5 Answers
+ 4
Ha... marked as "best answer" an answer with main content: "as described above"! :-) Cool...
+ 4
can you be more specific please?
you can put your PHP script within your HTML, you can put html in your PHP script. you can also separate them and use JavaScript to call the php.
+ 4
PHP script can be embedded in html files, but user at client side still won't be able to see it (viewing source code of a page in browser for example) if you have set you web-server right (otherwise php code won't work). Or as said above PHP code can be in separate files.
+ 3
Ho, now my answer marked as best. O_o But Mario L. was first to answer and I just gave a small add-on. Thank you Roland, but could I pass this mark to Mario, please? :)
0
Yes as described above. I prefer to call my php from a separate script to keep all my parats organized