WarMad Posted May 23, 2016 Share Posted May 23, 2016 Can anyone tell me how to switch my mccodes lite to pdo I started trying and can't figure it out and my site is down :/ Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 23, 2016 Share Posted May 23, 2016 I think MTG has a wrapper for it Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 23, 2016 Author Share Posted May 23, 2016 Ok cool I will try to find it Quote Link to comment Share on other sites More sharing options...
TheMasterGeneral Posted May 23, 2016 Share Posted May 23, 2016 Mentioning [uSER=53425]Magictallguy[/uSER]. Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 yes i tried to contact him and no reply and now that i tried and i wanted to switch it back for now to work on other things and i cant smh its not working Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 got it working but still want it mysqli or pdo Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 24, 2016 Share Posted May 24, 2016 try this: https://bitbucket.org/getvivekv/php-mysqli-class Just so you know you will have to rewrite all your files though. Much like you would have anyway Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 I plain to edit them all anyways haha I will see if I can figure this out Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 24, 2016 Share Posted May 24, 2016 It's based off codeigniter so you can check their documentation for more help. if you want something more fancy you could check out eloquent Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 I will look into it I never heard of that haha Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 24, 2016 Share Posted May 24, 2016 Eloquent isn't for the faint of heart it can get pretty scary 1 Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 Lol why you say that Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 Is it really difficult or something? Quote Link to comment Share on other sites More sharing options...
Magictallguy Posted May 24, 2016 Share Posted May 24, 2016 My apologies, my internet has been cut off for a few days - got cut off from the world in the process. I can do it ;) 1 Quote Link to comment Share on other sites More sharing options...
KyleMassacre Posted May 24, 2016 Share Posted May 24, 2016 Is it really difficult or something? For something like MCC, Eloquent wouldn't be too hard but just a lot of work and requires some knowledge in OO (some). But each of your tables would basically require its own model and it would require a lot of altering in th model since MCC doesn't follow Eloquent's naming conventions. With that said, I don't think Eloquent would be a good fit for MCC, it was mainly a bad joke ;) And if MTG wants to step up and help like he said he would, that may be a bit cleaner than using the lib that I mentioned since your not used to (I am assuming) OO, method chaining, and objects Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 24, 2016 Author Share Posted May 24, 2016 haha yea sounds to confusing for me haha and mtg I messaged you Quote Link to comment Share on other sites More sharing options...
WarMad Posted May 29, 2016 Author Share Posted May 29, 2016 thanks kyle for sending him to me but who is ever in charge needs to make him higher then Intermediate lol MTG is a good ass coder he knows his shit 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.