does level server have pdo support?

Status
Not open for further replies.

Twysted

New Member
Messages
27
Reaction score
0
Points
3
does level server have pdo support?
I am trying to update an old script of mine and so I have been changing it over to pdo mysql but it's not looking to be working.
any ideas?
 

Dead-i

x10Hosting Support Ninja
Community Support
Messages
6,084
Reaction score
368
Points
83
Hi Twysted,

Yes, XO3 does have PDO support. What problems are you having exactly?

Thank you
 

Twysted

New Member
Messages
27
Reaction score
0
Points
3
Oh I am sorry I ment mysqli, i am trying to use Zebra Database mysqli wrapper class
 

Twysted

New Member
Messages
27
Reaction score
0
Points
3
qkPcWUl.png


PHP:
$result = $db->select('*','settings','');
while($rowz = $db->fetch_assoc())
{
    $x1 = $rowz['sName'];
    $x2 = $rowz['sValue'];
    $SETTINGS[$x1] = $x2;
}
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Try

PHP:
$result = $db->select('*','settings');

The third parameter is optional.
The error message is saying that the fourth parameter should be an array, but it should be optional too.
 
Status
Not open for further replies.
Top