Get sum of column values per group of consecutive integers in a 2d array [closed]
I need help getting values from an array. First, I have to get consecutive values from the below array (eg=>id:1,2); ign...
Latest news, tutorials, and updates from the PHP community
7059 articles available
I need help getting values from an array. First, I have to get consecutive values from the below array (eg=>id:1,2); ign...
I was wondering how I would migrate a mysqli php file to use PDO. Would anyone be able to take a look at my code and see...
I have a table `categories` and table `posts` . I want to return categories that have more than 3 posts. My query [Code ...
This query takes too long to produce result. And in php page it create 500 Internal server error. [Code Block] Please He...
I have a wamp going on and just recently I had to switch from MySQL to PostgreSQL because of a new client. Here is how m...
I want to read `php://stderr`. How can do it? Do `php://stderr` and `STDERR` write to the same file? Because after writi...
I'm using CakePHP to send automated emails to clients. It's been working great, but it seems some recipients aren't rece...
Can you have an "if" statement within an "array" function? [Code Block] my question of course pertains to line 5, the 4t...
(Best practice for including many to many results inside each result?) Each post has a number of resources. I'm trying t...
I can connect but when it comes to the prepared statement that is the error i got. anything wrong there? Code: [Code Blo...
saw this was an error with incorrect binding (searching stackoverflow), but it looks like I have all variables bound and...
I need to pass an array from my model (array is filled with info while reading a text file) to a controller and then fin...
Showing 5893 to 5904 of 7059 articles