i don`t quite understand what you want... you mean....the var`s content to appear on page? it is like this: $var = "hello world!"; echo var; This will write "hello world!" on the page
If you mean post vars then the post form <form action="welcome.php" method="post"> Name: <input type="text" name="fname" /> Age: <input type="text" name="age" /> <input type="submit" /> </form> PHP: on the welcome.php page Welcome <?php echo $_POST["fname"]; ?>!<br /> You are <?php echo $_POST["age"]; ?> years old. PHP: post variables are accessed by $_POST["VAR"]
What u mean actually? You can post by giving the form method =post. And you can read it in the php page by $_POST["var_name"].. If you want more, please specify the details