[PHP] Re: MySql Close problem

2004-06-22 Thread Erik Gjertsen
rror message if ther is one if (isset($message)) { echo '', $message, ''; ) ?> Enter your information in the form below: Name Email Adress User Name Password Confirm Password but it dont work. If I take away al after mysql close to form_ac

[PHP] MySql Close problem

2004-06-20 Thread Erik Gjertsen
I have problem with mysql_close I dont understand why. Are ther someone that have any proposal? Thank for any help Erik Gjertsen Here is the code $query = "SELECT usrid FROM users WHERE username"; $result = @mysql_query ($query); //Run the query if (mysql_num_rows($result) == 0)

Re: [PHP] page_title

2004-05-08 Thread Erik Gjertsen
Thanks it help Erik Gjertsen "Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is it me or is the sollution here incredible simple? > > $page_title = "Welcome"; >

Re: [PHP] page_title

2004-05-07 Thread Erik Gjertsen
ot;Bao Ruixian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Erik Gjertsen wrote: > > >I have write following code: > > >$page_title = "Welcome"; > >?> > > > >But I can not see Welcome on top of the page. > >

[PHP] page_title

2004-05-07 Thread Erik Gjertsen
I have write following code: But I can not see Welcome on top of the page. Can someone tell me why I not can see it? Thanks Erik Gjertsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login page

2004-05-07 Thread Erik Gjertsen
Thanks it help Erik Gjertsena "Petr U." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 6 May 2004 03:42:48 -0700 > "Erik Gjertsen" <[EMAIL PROTECTED]> wrote: > > > I have made a login page but I got an error on line 1.

[PHP] Re: Login page

2004-05-06 Thread Erik Gjertsen
I forgot the error messages: Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /home2/erik/gjertsen-www/Skole22/Loggin/login.php on line 28 Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /home2/erik/gjertsen-www/Skole22

[PHP] Login page

2004-05-06 Thread Erik Gjertsen
conection. } else { $message = 'Please try again.'; } } // End of themail submitconditional. //Print the error message if ther is one if (isset($message)) { echo '', $message, ''; } ?> Enter your information in the form below: User Name: Password: Thanks Erik Gjertsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Reristration form

2004-04-23 Thread Erik Gjertsen
Thanks it helps Erik Gjertsen "Erik Gjertsen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I shall made a registration schema to user log on. But when I fill in > everything I still com up messages that you must go back and try again. > Or can someone h

[PHP] Reristration form

2004-04-23 Thread Erik Gjertsen
amp; $email && $username && $password) { // if everyting's okay. //Register the user. echo 'you are now register.'; } else { //Something is not TRUE. echo 'Please go back and try again.'; } } else {// Display the form } ?> Thanks for any help Erik Gjertsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
Thanks for help Red. Cut and past is not always wok But I have a new problem in the last line. I don't understand why it's problem here Thanks Erik Gjertsen http://www.w3.org/TR/html4/loose.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"&g

[PHP] Re: Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
Thanks for help Red. Cut and past is not always work But I got a new problem in the last line. I don't understand watt the problem is here Thanks Erik Gjertsen "Erik Gjertsen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I try to made a administrator

[PHP] Password

2004-04-07 Thread Erik Gjertsen
&& $email && $username && $password) { // if everyting's okayOK. //Register the user. echo 'you are now register.' } else { //Something is not TRUE. echo 'Please go back and try again.' } else { ?> Enter your information in the form b

[PHP] Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
&& $email && $username && $password) { // if everyting's okayOK. //Register the user. echo 'you are now register.' } else { //Something is not TRUE. echo 'Please go back and try again.' } else { ?> Enter your information in the form b