Re: Username
| From: | DL Neil | Date: | Tue, 05 Feb 2002 16:03:31 +0000 |
| Subject: | Re: Username | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-16531@lists.php.net to get a copy of this message | ||
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 before a branch/decision
make sure
you KNOW what the value IS (cf what it 'should be').
When you do this, it is most likely that the error/omission will become clear.
=dn
> 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 handy when I get to that point in my
> learning stage.
> Jen
>
>
> "Robert Weeks" <robert@woozy.com> wrote in message
> news:B8855EE9.40DB%robert@woozy.com...
> > 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.devshed.com/Server_Side/PHP/TimeIsMoney/TimeIsMoney1/page1.html¼²‰Ç»nÊ̈5©n’
> >
> >
> > Robert
> >
> >
> > On 2/5/02 9:50 AM, "Jennifer Downey" <jendowney@attbi.com> wrote:
> >
> > > All I want is to get the username into the database.
> > > As soon as test.php shows in browser, the Username, submit button and
> box ar
> > > e there but also
> > > it prints the "There has been a problem." right off the bat. Now I know
> > > there are misprints in the book
> > > and I hope I was smart enough to catch them but maybe not. can someone
> > > please tell me what I have
> > > done wrong?
> > >
> > > Thanks for all your time.
> > >
> > > Jennifer Downey
> > >
> > >
> >
>
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>