|
-
SQL tables being made but populating empty?
Hey hey, Just followed the Ultra Simple PHP Flash Login tutorial. Was looking for some easy log in type script for a project. This ended up being closest to what I wanted.
So here is the deal, I uploaded everything, added my DB info, created the table and put the code on the buttons.
When testing I created a test user. Everything worked. Yay. I went back and created a second user. Everything seemed to work. However when I tried to log in as second user I was denied.
So I went to phpmyadmin and checked it out. in the table there were 2 cells, one had the username and password for the first user, the second had the cell but no info. (username and password were blank).
I deleted cell 2 and registered again. Same thing. left it alone, tried to register again and was given the error "username already exists" even though it didn't. (user 1 = Testing, User 2 = Bobby, User 3 = Richard).
So, my concern then, is why does everything seem to work, and why does the cell get created, but the information isn't passed through, when it does the first time?
Ideas?
~MoN
If I am wrong, please just correct me and move on.. there is no need for all that pointing and laughing! ~MoN
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|