If you read to part 2 of the tutorial it has quite a bit on inserting data.
The reason there are tutorials and books are to teach the *concepts* behind
what they are showing you.
This is probably what is tripping you up; you create the table with uid as
an integer, auto increment, not null field
:
-Original Message-
From: Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2002 14:50
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Username
Hi,
It's me bothering you great helpers again! Wondering if you can help me?
I know I am missing some
Jennifer Downey [mailto:[EMAIL PROTECTED]]
Sent: 05 February 2002 14:50
To: [EMAIL PROTECTED]
Subject: [PHP-DB] Username
Hi,
It's me bothering you great helpers again! Wondering if you can help me?
I know I am missing something stupid cause I am taking this pretty much
straight out
of the
Jennifer,
You have a clear idea of what you want done by the script - as guided by "the book".
However, do you have a clear idea of what the script is actually seeing - and
therefore why it is doing what
it's doing?
When debugging, add a heap of ECHO statements to test pertinent values, eg befo
I am not getting an error message. The te.php is connecting to the data
base. Just not doing what I want
it to.
While that is a very good tutorial (if I was just logging in) but it has
nothing to do with inserting information
into the database via a form.
But thanks for the tut. It will come in
What exactly is the error message? Did you change config.php to use the name
of your database and your username & password?
I've found the articles at devshed to be helpful in the past. This
particular one has a pretty good explaination of setting up a user
authentication system:
http://www.devs
Hi,
It's me bothering you great helpers again! Wondering if you can help me?
I know I am missing something stupid cause I am taking this pretty much
straight out
of the PHP 4 Bible.
Here is my table dump:
CREATE TABLE users (
uid int(10) unsigned NOT NULL auto_increment,
name varchar(20)
Dear all
Is there any function in php that can pass the username and password of NT
domain to MYSQL interface??
I'm designning a database with interart with php for a web site, but i'm
just concerning about the security of the user right!!
Cheers
Jack
[EMAIL PROTECTED]
--
PHP Database Mailing
thanks for the help.
with the suggestions, this is what finally resulted,
i figured i'd post it in case it's help to any one else.
http://www.some.com/badlogin.php";);
}
$db = pg_connect("dbname=some_com user=some_com");
$query = "SELECT * FROM userinfo WHERE firstname='$username'";
$authresult =
Hi. i'm new to PHP, and i can't seem to find out what i'm doing wrong
with the following code:
client posts username/password via SSL to this file, login.php,
where i want to check the username/password combo against what is listed
in the db
if the entries are blank, it goes to a page that sends
Is the following statement the best way to handle a username/password
validation
$username and $password are form fields
$result="";
$result= mysql_query (" Select password from ACCT_TBLE where (ACCT_NUM =
'$username' and PASSWORD='$password')");
Now my question is will result be equal to "" if
11 matches
Mail list logo