Selecting Values from One Row - MySQL

Discussion in 'MySQL' started by LindseyInteractive, Dec 26, 2011.

  1. #1
    Okay, I am trying to fetch information from a database that has the following three columns:

    • ID
    • Service_Name
    • Price


    Now, I am trying to select all the information in a Single Row, based on a variable.

    I have stored 2 types of service/packages in the datbase for our SEO Packages, which is as follows:

    SEO Budget Package, $250
    SEO Economic Package, $300

    So, let's say someone choose the SEO Budget Package, I want it to select the row, that is for the Budget Package, and then store the $Service_Name as well as the $Price, so Ican send that information to a script to process the payment.

    Here is the script I have, please help:

     
    LindseyInteractive, Dec 26, 2011 IP
  2. iama_gamer

    iama_gamer Active Member

    Messages:
    404
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    60
    #2
    The description is very abstract. Include the structure of the database and the error you are facing
     
    iama_gamer, Jan 26, 2012 IP