foreach() loop on CodeIgniter's result_array() only returns the last encountered row [duplicate]
Am trying to encode an array to json for use with jquery. This is the function from my model [Code Block] And this is fr...
Latest news, tutorials, and updates from the PHP community
7044 articles available
Am trying to encode an array to json for use with jquery. This is the function from my model [Code Block] And this is fr...
I'm sorry for asking a question on something that I'm sure is easily found, but Google is of no help with special charac...
Why doesn't `order_by()` work in the following CodeIgniter script? [Code Block]
How to count the number of rows in mysql database tables with php? if have in database 5 rows, they number show like thi...
Here is my code: [Code Block]"; header('Refresh: 3; url=index.php'); die('running queries...'); } else { die('PLEASE SET...
[Code Block] I am just able to get only the first row and rest other rows are not being displayed
In a php script, is it guaranteed that once the script/page ends, an opened database connection is closed without any fu...
I am using CodeIgniter for my application and I am a bit confused. I wrote some queries like this: [Code Block] But in t...
Hi i want to parse vCard format to a array. User may upload vCard 2,1 or vCard 3.0 i should be able to parse it. I just ...
I have a basic upload form which I would like to emulate using cURL. [Code Block] I know how to post using cURL, but I'm...
I have a div that I want to be: 100% width (of viewport) - 150px How would I show this in CSS or JavaScript?
I'm making a registration form which will have the user put in his birthday. The problem is when it comes to February an...
Showing 6409 to 6420 of 7044 articles