Jump to content




Recent Topics

Recent Status Updates

  • Photo
      16 Sep
    Kadence

    Some spammers sign up to CC and then they leave their account hidden so they think it won't get noticed but with an obvious name like "SaxophoneRetailSingapore" it's hard not to know they are a spam bot. #ModLife

    Show comments (3)
  • Photo
      15 Sep
    Error

    Programming is something that I enjoy and want to make a career out of. But, I usually tend to start things and not finish them. Any advice on how I can finish what I start?

    Show comments (1)
  • Photo
      12 Sep
    FacetiousTurtle33

    Just joined. Really enjoy this sight. Excited to become a great programmer, and helper.

    Show comments (3)
View All Updates

Developed by Kemal Taskin
Photo
- - - - -

Link my user registration/login to my blog?

registration login

  • Please log in to reply
2 replies to this topic

#1 wheay

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:

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

#2 wheay

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

WingedPanther

    A spammer's worst nightmare

  • Moderator
  • 17,036 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