Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Sep 2011
    Thanked 0 Times in 0 Posts

    Cool PHP and MySQL Coding

    Hi All,

    I am so totally new to all of this and would really like some help if possible

    I would like my website to be able to read one specific field from my MySQL database and display the result on the site.

    I have an education and training centre, and I would like the users to input their identity numbers and the results (either pass or fail) to be displayed.

    - Ash

  • #2
    Master Coder
    Join Date
    Jun 2003
    Cottage Grove, Minnesota
    Thanked 1,093 Times in 1,084 Posts
    You have to "connect" to the database, so you need to know the MySQL account info.
    Then, you need to know the table name and column names.
    And of course, you need to be able to put PHP scripts on the website itself.

    You can PM me if you want specific scripting examples using your real account info.
    Don't post any account info on here ... only the table and column names.

    one more thing ...
    If the "identity numbers" are similar, you need to have them
    enter something else, such as email address. Otherwise, someone
    can just randomly enter numbers until they get some result.
    There has to be some level of security here.

    Last edited by mlseim; 09-16-2011 at 01:58 PM.

  • #3
    Senior Coder
    Join Date
    Apr 2010
    Thanked 105 Times in 104 Posts
    I agree with mlseim, there should always be a minimum of two fields. Then verify both of them in the same query.


    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts