Ad from mysql to php

Discussion in 'PHP' started by piropeator, Jun 11, 2016.

  1. #1
    When I use pl/sql, for example:
    UPDATE table SET periodo = "201612"
    
    PHP:
    The system say: xx rows afected.
    This message is possible to get into a variable using PHP?
     
    Solved! View solution.
    piropeator, Jun 11, 2016 IP
  2. #2
    Vooler, Jun 11, 2016 IP
    sarahk likes this.
  3. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,623
    Likes Received:
    725
    Best Answers:
    152
    Trophy Points:
    470
    #3
    That being said, you should really stop using mysql_ The function is deprecated, full of security holes, and should have been discontinued a long time ago, in favor of mysqli_ or PDO.
     
    PoPSiCLe, Jun 12, 2016 IP
    Vooler likes this.
  4. Vooler

    Vooler Well-Known Member

    Messages:
    1,146
    Likes Received:
    64
    Best Answers:
    4
    Trophy Points:
    150
    #4
    Thank you for correcting.
     
    Vooler, Jun 12, 2016 IP