ORDER BY a column with CodeIgniter
Is it possible to sort the values retrieved from MySQL, in say descending `id`?
Latest news, tutorials, and updates from the PHP community
8483 articles available
Is it possible to sort the values retrieved from MySQL, in say descending `id`?
How can I retrieve the current date and time within a view in CodeIgniter? What I'm trying to do is to subtract the curr...
Possible Duplicate: What do the "=&" and "&=" operators in PHP mean? I found the operator "=&" in the following code, an...
I could not figure out how to pass a variable number of variables into a function. I thought passing in an array and usi...
I'm developing a system with CodeIgniter. In my situation, I have to press a link in one user interface and get its ID a...
I am trying to get the option selected using PHP, but I ran out of ideas! Below is the code I have tried until now: [Cod...
I'm querying for the ID of a field by accessing a class function which someone has already put in place. The result is a...
I'm just curious and was wondering how you guys handle it if you want to use the same HTML form and as far as possible t...
I am building out my first WordPress site for a client. I really want to use LESS for CSS and found a WP plugin named WP...
I have three tables: (to keep it simple I'll only show the relevant fields) [Code Block] In the `articles` table, becaus...
[Code Block] What is the best way to separate string in two by given position?
I'm a little confused why I see some code in PHP with string placed in single quotes and sometimes in double quotes. I j...
Showing 8173 to 8184 of 8483 articles