MySQL Forums
Forum List  »  PHP

mysqli class
Posted by: julian haffegee
Date: March 06, 2014 11:25AM

Hi all

I have recently being trying to get to grips with mysqli.

I have a class that connects, queries and disconnects to my databse from my php pages. I am trying to create a mysqli equivalent.

I can connect, query and disconnect,
$result->fetch_assoc() works fine

but I seem to be stuck with getting $link->affected_rows in the php pages that use the class. Obviously $link relates to the class rather than the php page.

Can anyone point me to some examples of the correct syntax on this. TIA

Options: ReplyQuote


Subject
Written By
Posted
mysqli class
March 06, 2014 11:25AM
March 08, 2014 01:10PM
March 11, 2014 07:16AM
March 12, 2014 10:34PM
March 13, 2014 07:24AM
March 15, 2014 01:55PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.