Codeigniter : displaying query result in controller
I am trying to display my db query result in my controller, but I don't know how to do it. could you please show me? Con...
Latest news, tutorials, and updates from the PHP community
7059 articles available
I am trying to display my db query result in my controller, but I don't know how to do it. could you please show me? Con...
The last few days, I have extensively read books and web pages about OOP and MVC in PHP, so that I can become a better p...
I was reading Does $_SESSION['username'] need to be escaped before getting into an SQL query? and it said "You need to e...
When I use this SQL, the result of mem_name (from the first table) is repeated a lot how can I prevent that? [Code Block...
Actual array as below is basically the array of $_POST. One can understand what is coming from the form. Three controls ...
I know there are other ways of of escaping only single quotes (such as this answer), but it appears to me that there sho...
Logically in SQL we can delete data from tables with JOINS e.g. [Code Block] What will be the CodeIgniter equivalent of ...
I am using the NuSoap library to call a WCF web service. I am stuck when calling a particular web method that has a type...
Can we make `model calls` only from `controller`? I make model calls from view also, is it wrong to do so.
I have to increment a field in my DB each time I execute this statement: [Code Block] But it doesn't work. Any help ?
I am fairly new to object oriented programming. I made this class which connects to mysql database to be called from mod...
I am trying to return json data from CodeIgniter view, but my code is not working. I have tried all options given in thi...
Showing 6037 to 6048 of 7059 articles