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
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)
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";
>
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.
> >
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
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.
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
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
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
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
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
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
&& $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
&& $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
14 matches
Mail list logo