MySQLResult Iterator with mysqli

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
MonsieurBon
Forum Newbie
Posts: 1
Joined: Sun Mar 30, 2008 4:18 pm

MySQLResult Iterator with mysqli

Post by MonsieurBon »

Hello

I only just started to use Swift. As I use mysqli with all my scripts, I'd like to change the MySQLResult Iterator to mysqli. Is there anything else I have to do but change all the statements in MySQLResult.php from mysql to mysqli?

Thx.
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: MySQLResult Iterator with mysqli

Post by Chris Corbyn »

I've never really used MySQLi so I can't answer for certain, but basically I think the answer is no, it should work fine.

My suggestion would be NOT to edit the original file however... just create a new class and base it on the original, or extend the original.
Post Reply