Thread: Php and mysql

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    42
    Rep Power
    2

    Php and mysql


    Hi,

    I am new to php. I would like to do the following for my site:
    1. registration page. so people can come register.
    2. once registered, they can log in using their id/pw


    I have my hosting at mycheaperdomain and i created mysql database in my hosting account.


    Question: What do i need to know in php and mysql to do what i want to do? could you please list the specific topics that i should learn to do those?

    Thanks much.
  2. #2
  3. Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2012
    Location
    Oxford, United Kingdom
    Posts
    40
    Rep Power
    3
    Well, it's pretty obvious.

    If PHP is your first programming language, you must start with the basics, such as:

    Variables, Classes, Functions, ect ect

    Once you've got a good grasp of all that, take a look at PDO or MySQLi tutorials to see how to communicate with a DB.

    You'll also need to learn about GET and POST (at the very least), to accept data input from your users. All of this can be found on Google.

    I would post some URLs for you, but it looks like I can't as my account is rather new.

    Just do some googling. You'll find everything you need.

    Use keywords like:

    PHP PDO tutorial
    PHP GET and POST tutorial
    and so on...

    There's a lot of video tuts on Youtube, too. So if you prefer learning through videos, use Youtube instead.

    If you get stuck, come back here and tell us. We'll be happy to help!
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Dec 2012
    Posts
    42
    Rep Power
    2
    super.
  6. #4
  7. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2012
    Location
    USA
    Posts
    33
    Rep Power
    0
    Firstly you should refer php tutorials and video which helps you more to learn language.

    These two links will help you for preparing PHP based forms and websites with ease

    http://www.youtube.com/watch?v=zxDOA5dbULk

    http://www.w3schools.com/php/default.asp

    Comments on this post

    • sir_drinxalot disagrees : seriously??? again with the w3schools?
  8. #5
  9. Known to taste like chicken
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2003
    Location
    In front of my computer
    Posts
    399
    Rep Power
    312
    i dont know what is with the w3schools spam right now, but there is a lot of it.

    the only thing you will learn at w3schools is bad habits and crap code.

    w3fools.com
    "Take thy beak from out my heart, and take thy form from off my door" - Homer J Simpson / Edgar Allan Poe

    Looking for a project Idea?

IMN logo majestic logo threadwatch logo seochat tools logo