[PHP] Re: MySql Close problem

2004-06-22 Thread Erik Gjertsen
it com the folloving error:Parse error: parse error on line 114 (it is on the end of the script). But when I set it back aganst the error massages coms on the line of mysql_close. Are ther someone that understand what I means?? Thanks for any proposal Erik Gjertsen -- PHP General Mailing List (http

[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) { // Make

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? ?php $page_title = Welcome; ? head title?=$page_title?/title -- -- Kim Steinhaug

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. Where did you defined $dbc? Nowhere. From mysql_select_db

[PHP] page_title

2004-05-07 Thread Erik Gjertsen
I have write following code: ?php $page_title = Welcome; ? 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] page_title

2004-05-07 Thread Erik Gjertsen
= Welcome; include(./tempelates/header.inc); echo 'pWelcom to us/p'; include(./tempelates/footer.inc); ? Thanks Erig Gjertsen Bao Ruixian [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Erik Gjertsen wrote: I have write following code: ?php $page_title = Welcome; ? But I

[PHP] Login page

2004-05-06 Thread Erik Gjertsen
=20 value=?php if (isset($_POST['username'])) echo $_POST['username']; ? //p pbPassword:/b input type=password1 name=password1 size=20 maxlength=20 //p div align=centerinput type=submit name=submit value=Login //div /fieldset /form /body /html Thanks Erik Gjertsen -- PHP General Mailing List

[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] Reristration form

2004-04-23 Thread Erik Gjertsen
$password) { // if everyting's okay. //Register the user. echo 'pyou are now register./p'; } else { //Something is not TRUE. echo 'pPlease go back and try again./p'; } } else {// Display the form } ? /body Thanks for any help Erik Gjertsen -- PHP General Mailing List (http

[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 help me to find a script I can use

[PHP] Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
maxlength=40 //p pbPassword:/b input type=password name=password1 size=20 maxlength=40 //p pbConfirm Password:/b input type=password name=password2 size=20 maxlength=40 //p /fieldset div align=center input type=submit name=submit value=Submit information //div /form Thanks fore any help Erik

[PHP] Password

2004-04-07 Thread Erik Gjertsen
maxlength=40 //p pbPassword:/b input type=password name=password1 size=20 maxlength=40 //p pbConfirm Password:/b input type=password name=password2 size=20 maxlength=40 //p /fieldset div align=center input type=submit name=submit value=Submit information //div /form Thanks fore any help Erik

[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 page that I need to writ user

[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 !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; html xmlns=http://www.w3.org/1999/xhtml