Getting a folder ID in as few SQL statements as possible
Consider the database table: folders [Code Block] 'b' is a folder inside 'a' and thus it's parent_id is the id of 'a'. F...
Latest news, tutorials, and updates from the PHP community
8596 articles available
Consider the database table: folders [Code Block] 'b' is a folder inside 'a' and thus it's parent_id is the id of 'a'. F...
Does PHP supports Composite data type? If yes, then how could I create it?
I had a table like this [Code Block] I need to show the results using this query [Code Block] and getting the following ...
Mysql is not working with PHP (each of them OK individually, Mysql OK with perl). I've added `extension=mysql.so` to `ph...
I need to replace every instance of any text in square brackets with something else, with each square bracket block bein...
Lets put the case that we've got two separate classes, each owns a `mysqli` object to use for database operations. [Code...
I'd like the following function to select hotels with an accomodation between a certain `$minvalue` and `$maxvalue`. Wha...
How is it possible to grab web page source from a ajax type web page: curl doesn't seem to be able to get ajax generated...
I am developing a Wordpress plugin which requires ImageMagick. I was testing ImageMagick on my server with this code: [C...
I have a string of below type. [Code Block] I want to parse this string into an associative array of its parts. Expected...
I have a url that looks like that [Code Block] I need to encode the spaces before requesting the url with curl. But how ...
The following method does its job but keeps printing a warning also, im pretty new to OOP so i would like to know why ex...
Showing 7645 to 7656 of 8596 articles