Click to See Complete Forum and Search --> : query.strings
sicknote
08-28-2005, 09:33 AM
um?? ... i've heard that you can write ph tags when they start of with
<script language="php">
um?? yeh the script here
</script>
do you think that if i used the query string code with php in that sort of way but in a html doc..
would/do u think that would work or not.
sicknote
08-28-2005, 09:36 AM
i meant php tage btw
um?? ... i've heard that you can write ph tags when they start of with
NogDog
08-28-2005, 10:37 AM
As far as I know, no.
PHP gets parsed and executed on the server. HTML tags like <script>...</script> get parsed and executed on the client (browser).
sicknote
08-28-2005, 11:07 AM
so what your saying is that I could use php in a html doc. if i use the <script></script> tags right.?.?.
NogDog
08-28-2005, 12:43 PM
so what your saying is that I could use php in a html doc. if i use the <script></script> tags right.?.?.
No. I'm saying that PHP gets processed on the server, and every PHP installation I know of looks for <?php ... ?> (or <? ... ?> on some out-of-date installations) to delineate PHP code. The <script> HTML tag is used for scripts which get processed on the client side (the browser) such as JavaScript.