How to access the values of a flat, associative array with a foreach loop [duplicate]
[Code Block] Why does the above code only output the first letter in message? "t".
Latest news, tutorials, and updates from the PHP community
8483 articles available
[Code Block] Why does the above code only output the first letter in message? "t".
I'm having some trouble trying to use a query result as an array. First, I run a query to get all the zip values that I ...
I recently ran up against a problem that challenged my programming abilities, and it was a very accidental infinite loop...
I'm using PHP5, CodeIgniter and Apache. The localhost php pages were loading fine and then suddenly they started crashin...
I'm working with a `DOMDocument`, and I'm wondering if there exists some way of using CSS-like selectors to select nodes...
This is the function I currently use (from a PHP book I bought): [Code Block] But I feel like it could be safer. for exa...
Often, when writing PHP, I'll have it output some HTML content like this: [Code Block] Obviously, this won't parse as I ...
In my MySQL database, I have this column called: Name: Date Type: datetime I have few values in that column: 2009-01-05 ...
Below is my code for the function I am using to retrieve multiple data from my table, but I would like to use bind_resul...
I've got a string with HTML attributes: [Code Block] How to transform that string into an indexed array, like: [Code Blo...
I need to make a timestamp to put into MySQL. The user is submitting a number (of weeks) and I need to add that many wee...
I need to be able to call a function, but the function name is stored in a variable, is this possible? e.g: [Code Block]
Showing 8401 to 8412 of 8483 articles