Burhan Khalid wrote:
[snip]
And here is the action page, testing2.php.
if ($_POST['user'] == 'Andrew') && ($_POST['pass'] == 'pass') {
echo "Welcome, Andrew."; }
And (shocker!) I got a blank page. So I turned out display errors and
got this:
Parse error: syntax error, unexpected T_BOOLEAN_AND in
c:\TSW\pages\testing2.php on line 3
PLEASE ... read the manual on basic syntax.
And read here too.
http://us4.php.net/manual/en/language.control-structures.php#control-structures.if
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php