Re: [PHP] Administrator page and password problem

2004-04-07 Thread Red Wingate
You mixed up here a little :-) [...] > if (strlen($_POST['password1']) > 0) { > if ($_POST['password1'] == >($_POST['password2'] { > 1. $password = TRUE; > > } else { > $password = FALSE; > echo '' > } > } else { > $password = FALSE; >

[PHP] Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
I try to made a administrator page that I need to writ user name and password. But I have problem with the password. There comes one error where I writ 1..(one) I have not made a table on MySql but in the book I read it scowl work. Can some one tell me why it not work. Here is the code: 0) { $