PHP Help Needed!

Discussion in 'PHP' started by NateJ, Feb 5, 2009.

  1. #1
    The Problem I'm Having Is When I Want To Echo An Amount, It Just Echoe's "0" When The Number It's Fetching Is Not "0", Anyone Know How To Fix This?

    The Piece Of Coding:
     
    NateJ, Feb 5, 2009 IP
  2. Acecool

    Acecool Peon

    Messages:
    267
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    0
    #2
    For starters, I hope you do not use this code in a real site...

    If you do, at least use mysql_escape_string() around the variables you use to fetch data.. never trust the user input..

    Also, can you tab the stuff out to make it easier to read :)
     
    Acecool, Feb 5, 2009 IP
  3. NateJ

    NateJ Active Member

    Messages:
    240
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    53
    #3
    If That's What You Mean By Tabbing It Out, Then There You Go :)
     
    NateJ, Feb 5, 2009 IP