View Single Post
  #1 (permalink)  
Old July 24th, 2003, 02:03 PM
nikolaosk nikolaosk is offline
Registered User
 
Join Date: Jul 2003
Location: athens, , Greece.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default variables not showing

 hi everybody

i am new in the forum

i am running php4 on a windows 2000 machine using iis5.

i have downloaded php4 and for the first chapters everything worked okey.

now i have this problem:


i write something in a text field and when i am calling a simple php script to view the contents of the variable nothing happens


i give you the code:

the html code

<html>
<head>
</head>
<body>

<form method="post" action="actor.php">


actor:<input name="actor" type="text">
 <br>


<br>
<br>
<input type=submit value="click here to submit">
</form>

</body>
</html>

the php code

<html>
<body>


<?php
echo $actor;
?>
</body>
</html>

why can't i see the contents of teh variable? should i change things in teh php.ini file?

thanks a lot



Reply With Quote