How do I apply a string function to a table column?
As part of a query result, a column with names is returned. I want to apply a function so that the order of first and la...
Latest news, tutorials, and updates from the PHP community
8483 articles available
As part of a query result, a column with names is returned. I want to apply a function so that the order of first and la...
After code like this: [Code Block] How Do I See The Actual SQL Statement That Was Executed? (It Should Look Something Li...
Pretty often I need to access `$config` variables in views. I know I can pass them from controller to `load->view()`. Bu...
is it possible to use the `fetch_all()`, `fetch_assoc()` etc. from the the `MySQLi_Result` class with a prepared stateme...
With this function: [Code Block] And with text `My name is **bob**`, I get in source code `Hi my name is `.
Im uploading a file, and then attempting to use fgetcsv to do things to it. This is my script below. Everything was work...
I am using a fairly straight-forward script to open and parse several xml files that are gzipped. I also need to do the ...
I'm creating a little management tool for the browser game travian. So I select all the villages from the database and I...
What is the meaning of `{ }` (curly braces) in string literals in PHP?
I'm just wondering how to convert a numerical date into text format in PHP Example change `06.04.2010` to say `April 6th...
I have a simple controller function which deletes a DB entry (it uses a model function to do so). I have a link to this ...
I want to create a class which uses PDO to interact with MySQL. Can I create a new MySQL table using PDO?
Showing 8269 to 8280 of 8483 articles