konstrukcija typu <script type="php" src="connect.php"></script> - nie działa mi w ogóle
<?php session_start(); ?> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <style media="screen" type="text/css"> #show { visibility: visible; } </style> </head> <body> <?php //Przekazywanie wartości z formularza do zmiennych $user = $_SESSION["user"]; $kolor = $_SESSION["kolor"]; echo "Witaj ".$user; ?> <div> <form action="" method="post" name="wpis" > <input type="textarea" name="tresc" value=""> <input type="submit" value="wysli" name="submit"> </form> <script> document.wpis.tresc.focus(); </script> </div> <script id="show"> <?php include 'post.php'; include 'get.php'; ?> </script> </body> </html>