different results , same php
From: edward hage (edha_at_xs4all.nl)
Date: 11/30/03
- Next message: Tom Thackrey: "Re: different results , same php"
- Previous message: Janwillem Borleffs: "Re: Emailnotificatie (sorry, this message is in dutch)"
- Next in thread: Tom Thackrey: "Re: different results , same php"
- Reply: Tom Thackrey: "Re: different results , same php"
- Reply: Michael Fuhr: "Re: different results , same php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Nov 2003 16:58:11 +0100
Hello.
I am just starting out in php. First I installed Apache-server in
Windows, everything worked fine. Now in Linux and php-scripts work fine,
except this one. Seems that variables cannot be transported from one
.php file to the other.
In one file I put this:
<FORM ACTION="display.php" METHOD=POST>
<INPUT TYPE="text" name="name">
<INPUT TYPE="text" name="age">
<INPUT TYPE="submit">
</FORM>
</body>
</html>
Then display.php is started when the form is submitted. In display.php:
Hi <?php echo $name?>. You are <?php echo $age?> years old.
but for $name and $age no values are give, the same script in Windows does.
Could anybody explain this to me ?
Thanks in advance.Edward
- Next message: Tom Thackrey: "Re: different results , same php"
- Previous message: Janwillem Borleffs: "Re: Emailnotificatie (sorry, this message is in dutch)"
- Next in thread: Tom Thackrey: "Re: different results , same php"
- Reply: Tom Thackrey: "Re: different results , same php"
- Reply: Michael Fuhr: "Re: different results , same php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|