Mysqli class

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Hayden Kirk

    Mysqli class

    Can anyone tell me out to make a new mysqli class.

    Im going $var = new mysql();

    I get an error unknown class, php 5.0.3

    Thanks


  • Tony Marston

    #2
    Re: Mysqli class

    Read the manual. The class name is MYSQLI, not MYSQL.. (note the final 'I').

    --
    Tony Marston

    This is Tony Marston's web site, containing personal information plus pages devoted to the Uniface 4GL development language, XML and XSL, PHP and MySQL, and a bit of COBOL



    "Hayden Kirk" <hayden 90 @ xtra . co . nz> wrote in message
    news:Gso0e.1233 8$1S4.1281912@n ews.xtra.co.nz. ..[color=blue]
    > Can anyone tell me out to make a new mysqli class.
    >
    > Im going $var = new mysql();
    >
    > I get an error unknown class, php 5.0.3
    >
    > Thanks
    >[/color]


    Comment

    • Hayden Kirk

      #3
      Re: Mysqli class

      Sorry

      That was a typo, im typing mysqli.


      "Tony Marston" <tony@NOSPAM.de mon.co.uk> wrote in message
      news:d1tmb2$hnd $1$8300dec7@new s.demon.co.uk.. .[color=blue]
      > Read the manual. The class name is MYSQLI, not MYSQL.. (note the final
      > 'I').
      >
      > --
      > Tony Marston
      >
      > http://www.tonymarston.net
      >
      >
      > "Hayden Kirk" <hayden 90 @ xtra . co . nz> wrote in message
      > news:Gso0e.1233 8$1S4.1281912@n ews.xtra.co.nz. ..[color=green]
      >> Can anyone tell me out to make a new mysqli class.
      >>
      >> Im going $var = new mysql();
      >>
      >> I get an error unknown class, php 5.0.3
      >>
      >> Thanks
      >>[/color]
      >
      >[/color]


      Comment

      Working...