PHP and MySQL - Printing rows matching a column value
        Posted  
        
            by Michael
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by Michael
        
        
        
        Published on 2010-05-10T05:53:02Z
        Indexed on 
            2010/05/10
            6:04 UTC
        
        
        Read the original article
        Hit count: 241
        
Hello,
I need to write a PHP script that will print out results from a MySQL database. For example, say I have 9 fields. Field 1 is an auto increasing number, field two is a three digit number.
I need to be able to have a script read, find the matching number (it'll be from a POST), and then display all matching three digit results, and the 7 other fields as well. I am already logged in to the database in this script.
I guess I'm really at a loss of where to begin. How would one start something like this?
Thank you.
© Stack Overflow or respective owner