Ok, so I started using the header code that was suggested:
And I get this error:
Parse error: parse error, unexpected '{' in
/home/char-lee/public_html/beta/1.php on line 3
This is the code:
---
?php
if ($_POST['pw'] != burgers
{
header(Location:
On Thu, 20 Sep 2007 02:52:19 -0400 Andrew Prostko said:
Ok, so I started using the header code that was suggested:
And I get this error:
Parse error: parse error, unexpected '{' in
/home/char-lee/public_html/beta/1.php on line 3
This is the code:
---
?php
if
Wow, it really must be late, Thank you for pointing out that missing
parenthesis
... 330am and now I can go to bed happy... TY VM
Ending Code for anyone listening:
Get PW from another .php page using:
form action=passwordcheck.php method=post
br /
What is the Password?: input type=text name=pw
Andrew Prostko wrote:
Ok, so I started using the header code that was suggested:
And I get this error:
Parse error: parse error, unexpected '{' in
/home/char-lee/public_html/beta/1.php on line 3
This is the code:
---
?php
if ($_POST['pw'] != burgers
You'll be wanting to
Andrew Prostko wrote:
Wow, it really must be late, Thank you for pointing out that missing
parenthesis
... 330am and now I can go to bed happy... TY VM
Ending Code for anyone listening:
Get PW from another .php page using:
form action=passwordcheck.php method=post
br /
What is the Password?:
I am new to PHP and to email lists so I apologize in advance.
What I am trying to do is to take a password from user input, check
it to make sure it is == to something, say burgers
My problem is, I do not know how to make the Else statement...
How do I
Andrew Prostko wrote:
I am new to PHP and to email lists so I apologize in advance.
What I am trying to do is to take a password from user input, check
it to make sure it is == to something, say “burgers”
My problem is, I do not know how to make the Else
On Wednesday 19 September 2007 15:50:08 Andrew Prostko wrote:
My problem is, I do not know how to make the Else statement...
How do I get it to open a new url?
I want it IF yes open this page, else open this page
Andrew,
try the header() function:
?php
if ($_POST['pw'] != $password)
8 matches
Mail list logo