Jump to content


Photo

New MYSQL extension Question...


  • Please log in to reply
2 replies to this topic

#1 pixy

pixy
  • Members
  • PipPipPip
  • Advanced Member
  • 295 posts

Posted 13 July 2006 - 05:00 PM

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?

This is a .44 Caliber Loveletter straight through my heart.

Tabulas + Threadless + Hire Me!


#2 wildteen88

wildteen88
  • Staff Alumni
  • Advanced Member
  • 10,482 posts
  • LocationUK, Bournemouth

Posted 13 July 2006 - 05:40 PM

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.

#3 pixy

pixy
  • Members
  • PipPipPip
  • Advanced Member
  • 295 posts

Posted 13 July 2006 - 07:59 PM

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.

This is a .44 Caliber Loveletter straight through my heart.

Tabulas + Threadless + Hire Me!





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users