Jump to content

Archived

This topic is now archived and is closed to further replies.

pixy

New MYSQL extension Question...

Recommended Posts

If I want to use mysqli extensions, do I have to change ALL my functions to mysqli? I've got so many regular mysql stuff it would be a royal pain to go in and change all of them.

For example, if I connect to the database using mysql_connect, can I use mysqli_query() later in the same script?

Share this post


Link to post
Share on other sites
If you want to use mysqli based functions you'll need to change your mysql based funtions to mysqli. Also note that some mysqli functions have a different parameter order. Plus you cannot mix and match mysql and mysqli functions.

Share this post


Link to post
Share on other sites
Well that just sucks. Thanks for telling me though. I dont want to go through the effort of changing around all my queries. Oh well.

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.