Welcome Guest, Not a member yet? Register   Sign In
have problem to re-write this code to ci script

[eluser]Colin Williams[/eluser]
Quote:i say i reviewed the guide but the guide dosen’t have the function mysql_fetch_assoc in the librearies

There are LOTS of PHP functions that the CI User Guide doesn't document. In fact, it doesn't really document ANY PHP functions. Here's a secret: You can use any PHP function available to you in CI.

You could very well use the MySQL function in a model to do what you want, but I think a lot of us would agree that using CI's Active Record is much more elegant and scalable. So, as previously mentioned, head to the user guide, go to the Database section, read every page, and you will see how AR procedures match those you would do with MySQL functions.

Theme © iAndrew 2016 - Forum software by © MyBB