my code run sucessfully on localhost but dont run on godaddy

Discussion in 'PHP' started by ramysarwat, Jan 30, 2010.

  1. #1
    i have a paid hosting on godaddy
    i made a code to get some data from data base and it was sucessfull on localhost
    but when i uploaded the script and the database i coldnt get any result
    although the data base connection is sucessful

    when i connect the script from my local php server to godaddy mysql server i get results so i think its something with godaddy php server
     
    Last edited: Jan 30, 2010
    ramysarwat, Jan 30, 2010 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
    #2
    turn error reporting on, echo out the mysql_error()
     
    JAY6390, Jan 30, 2010 IP
  3. kishore415

    kishore415 Well-Known Member

    Messages:
    1,462
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    160
    #3
    Can we have link to your script..?
     
    kishore415, Jan 30, 2010 IP