What are the memory implications of passing a MySQLi result to a function in PHP?
I have a MySQL query that selects a large dataset: [Code Block] And I get a MySQLi result like so: [Code Block] But then...
Latest news, tutorials, and updates from the PHP community
7059 articles available
I have a MySQL query that selects a large dataset: [Code Block] And I get a MySQLi result like so: [Code Block] But then...
I would like to put a footnote in my PDF, created by MPDF from html. I didn't find any function or tag for that. I tried...
I need to make an PHP operation with dates with format ISO 8601. Something like: [Code Block] Using this code $diff get ...
In CodeIgniter, I have a Controller named "Idee" in which there is this function: [Code Block] But when I try the URL, t...
I'm developing a simple PHP database application for internal use but would like to code it to best practices. Some of m...
I'm really trying to tackle OOP in PHP and so I want to create a good lean database wrapper for MySQL, just MySQL, I'm m...
My function receives a array as parameter: [Code Block] What I need: [Code Block] I need to create a WHERE with it, I'm ...
Just as the title implies, I am trying to create a parser and trying to find the optimal solution to convert something f...
I'm developing small API in PHP and I need to create a ZIP archive on fly but the contents (files) are also created on f...
From the given string that is $codes I just want to have all language values to a language array, all code values to a c...
Is there a better way of retrieving the number of rows from a table? Currently I have this which is also returning an er...
I'm using ODBC (Win32) to connect to our Pervasive PSQL (now Actian Zen) database. I have post variables that I need to ...
Showing 6145 to 6156 of 7059 articles