Jump to content

Recent Status Updates

  • Photo
      18 Aug

    When faced with a wall of errors and no hope to fix them, remember the following "Programs always do what you tell them to, and seldom what you want them to, but eventually you'll run out of things that can go wrong and it'll just work. and that's the secret to good programming."

    Show comments (2)
  • Photo
      11 Aug

    Should I be practicing programming every day? I feel if I don't, I'll get instantly rusty or something.

    Show comments (4)
View All Updates

Developed by Kemal Taskin
- - - - -

Link my user registration/login to my blog?

registration login

  • Please log in to reply
2 replies to this topic

#1 wheay


    CC Regular

  • Member
  • PipPipPip
  • 33 posts

Posted 25 April 2011 - 09:33 PM

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:

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. (?)
  • 0

#2 wheay


    CC Regular

  • Member
  • PipPipPip
  • 33 posts

Posted 25 April 2011 - 11:07 PM

i have search every forum, every questions in google but still no luck.
  • 0

#3 WingedPanther


    A spammer's worst nightmare

  • Moderator
  • 16,988 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

Posted 26 April 2011 - 09:25 AM

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.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/

Also tagged with one or more of these keywords: registration, login