Get query's row count in a Codeigniter application [duplicate]
I'm using `$this->db->get()->row_array()` in Codeigniter to get a single row of results from the database. I want to mer...
Latest news, tutorials, and updates from the PHP community
7059 articles available
I'm using `$this->db->get()->row_array()` in Codeigniter to get a single row of results from the database. I want to mer...
So I'm making a site that requires people to sign up and log in, and I was wondering how to display the user's info afte...
I have this function in my model the purpose of it is to get the stats of the past 30 days starting from the actual day,...
Okay first sorry if its a stupid question but im a really big beginner. I have 3 database tables, videos, events, and us...
I want the users on my site to be able to search for other users within a certain distance. e.g. 'find all users within ...
I write curl php script which work is download csv file from one website after succesfully loged in. It works fine when ...
Is there anyway to convert the value of idate("z") to a date format that reads the Day, Month, and Year? My code looks l...
In PHP, I'm using namespaces at the class level. However, Netbeans keeps telling me namespace my global functions as wel...
please refer to the code below. [Code Block] $dArr gets the value of volunteerDist. echo $dArr prints the value 4.1,9.4,...
On my development machine, I have PHP set to display all errors (i.e., `display_errors` is set to `on`). Unfortunately, ...
I wrote a query builder script in CodeIgniter and then I realised that I needed to use OR with to WHERE clauses. So I lo...
I'm connecting to MySQL db from two different PHP instances. The first thread adds a new row, passes the 'id' of new row...
Showing 6133 to 6144 of 7059 articles