want some help in database script

Discussion in 'PHP' started by r2k1984, Mar 9, 2009.

  1. #1
    hi,

    iam planning to read the image from the database and youtube url in the database.

    I need to read the db2 database with my sql in php.

    But iam new to PHp.. Can any any please show a sample example how to read the record and display the image in webpage
     
    r2k1984, Mar 9, 2009 IP
  2. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I don't understand. You have a DB2 database and a MySQL database?
     
    SmallPotatoes, Mar 9, 2009 IP
  3. yoes_san

    yoes_san Peon

    Messages:
    443
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #3
    ?

    get content from db2 database with sql query?
     
    yoes_san, Mar 9, 2009 IP
  4. r2k1984

    r2k1984 Peon

    Messages:
    137
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yes... it can any database .. but it should be roubst that the url "http://sitename.com/out.php/i100" should refer to 100 line in the database and get the image url from the database and display it...


    Can any one please help me how to do it
     
    r2k1984, Mar 9, 2009 IP
  5. SmallPotatoes

    SmallPotatoes Peon

    Messages:
    1,321
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    0
    #5
    What is your question exactly? You said you have a DB2 database and a MySQL database. I don't see how these two databases fit together into your question.
     
    SmallPotatoes, Mar 9, 2009 IP
  6. r2k1984

    r2k1984 Peon

    Messages:
    137
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    it can be any database . you can keep it as db2 or my sql database . But it should be a online database.
     
    r2k1984, Mar 9, 2009 IP