How to group and concatenate aggregate data from a JOINEed table with a 1-to-many relationship [closed]
EDIT:: Maybe I should be asking what the proper way to get a result set from the database is. When you have 5 joins wher...
Latest news, tutorials, and updates from the PHP community
6985 articles available
EDIT:: Maybe I should be asking what the proper way to get a result set from the database is. When you have 5 joins wher...
I have a classifieds website... I have Solr doing the searching of the classifieds, and then return ID:nrs which I then ...
How do I get the name of a primary key field from a MySQL database? id name 1 Foo1 2 Foo2 3 Foo3 There the field `id` is...
Separately, they both do what they are supposed to but when I try to use the result from the first statement in the seco...
I am building a site that is permissions based. The user can add or remove read permissions to the public for pages as w...
How can I take all the attributes of an element? Like in my example below, I can only get one at a time. I want to pull ...
I've been able to make this code work using CodeIgniter's `db->query` as follows: [Code Block] The 'appearances' table t...
I have developed a website www.tenxian.com. It has three language versions, English, Japanese and Chinese. How can I wri...
I have made this code for giving out +1 point, but it doesn't work properly. [Code Block] The `$points` variable is the ...
I'm following this tutorial about building a multilingual web sites using PHP gettext http://onlamp.com/pub/a/php/2002/0...
I have an unknown number of arrays, each containing an unknown number of words. I want to concatenate the values from ea...
In PHP, what's the most elegant way to get the complete list (array of strings) of all the Unicode whitespace characters...
Showing 6805 to 6816 of 6985 articles