He kardes ne olmuski buna ? ikiside ayni sey ?
2nd: <script type="text/php"></script> doesn't work because PHP is a server side scripting language, not a client-side scripting language. Even if the browser gets it as a script, it won't be able to process it.
3rd: Please post only in English.
How I know it is working but I am prefer <?php ?> way. By the way <script language="php"> </script> is more typing for no reason.
I am using <?php ?>. This syntax can be used wherever in the html part.