This is a discussion on Mysqli class within the PHP Language forums, part of the PHP Programming Forums category; Can anyone tell me out to make a new mysqli class. Im going $var = new mysql(); I get an error ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
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.12338$1S4.1281912@news.xtra.co.nz... > 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 > |
|
|||
|
Sorry
That was a typo, im typing mysqli. "Tony Marston" <tony@NOSPAM.demon.co.uk> wrote in message news:d1tmb2$hnd$1$8300dec7@news.demon.co.uk... > 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.12338$1S4.1281912@news.xtra.co.nz... >> 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 >> > > |