p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 (http://p2p.wrox.com/forumdisplay.php?f=33)
-   -   variables not showing (http://p2p.wrox.com/showthread.php?t=2049)

nikolaosk July 24th, 2003 02:03 PM

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




NotNowJohn July 25th, 2003 03:13 AM

http://p2p.wrox.com/topic.asp?TOPIC_ID=628


All times are GMT -4. The time now is 06:18 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.