Jump to content

Link my user registration/login to my blog?

- - - - -

  • Please log in to reply
2 replies to this topic

#1
wheay

wheay

    Learning Programmer

  • Members
  • PipPipPip
  • 32 posts
Hi can anybody link or teach me on how to connect login/registation to another simple form that ask a number.

im really stuck with this.
it goes like this,
* the user need to login
* after login, he will then be directed to a new form asking for a 3 number guess.
* the user name should be store in to the database with his 3 number guess.
* that guess number should be display in to another html (admin) that shows:

Example:
NAME first Guess second Guess third Guess date and time
john 56 18 100 2011-04-30 10:25


i know its simple im just starting to learn php. i know a few but not much.

Pls. help me. Thank you!
i think login should be in a session so it gets his name. (?)

#2
wheay

wheay

    Learning Programmer

  • Members
  • PipPipPip
  • 32 posts
i have search every forum, every questions in google but still no luck.

#3
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,831 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
You can store most of the information in a session variable until you have collected all the guesses, then save the data to the database with a single insert statement.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users