Support forum login

©2006-2010 IAAI Software

Contact Us

mysqli

Submitted by don_load on Sun, 2010-01-31 13:06.

Hi, I've only had the script for a few days now and am still getting familiar with it.
One change I'm thinking of making is to change the mysql functions to mysqli. I've no immediate plans for the extra functionality this provides but may use prepared statements, as I integrate it in to my site, for security reasons. Not enitrely convinced as to whether its needed yet though. Do you think its necessary regarding the PT scripts or a little overkill.

Doesn't seem necessary to change sitemap, support or setup.php so would changing just the database.php to the below be sufficient.

{code saved}

Submitted by dmorison on Mon, 2010-02-01 09:57.

Hello Jay,

That should be all you need to do! I've not used the mysqli library at all myself but at the level of code used in Price Tapestry it appears to be identical; so should work fine...

Cheers,
David.
--
Developer, Price Tapestry
General PHP, MySQL and Affiliate Marketing tech help for Price Tapestry customers at davidmorison.com