URL path to CodeIgniter controller method shows 404 error
I am trying to access my `Welcome` controller's `cat()` method like this: `localhost/ci/welcome/cat/7` My base URL is `l...
Latest news, tutorials, and updates from the PHP community
6985 articles available
I am trying to access my `Welcome` controller's `cat()` method like this: `localhost/ci/welcome/cat/7` My base URL is `l...
I want to extract the first word of a variable from a string. For example, take this input: [Code Block] The resultant o...
How do I remove an element from an array when I know the element's value? for example: I have an array: [Code Block] the...
I am trying to do the following: [Code Block] This does not work. $row is returned by my mysql query, it has the followi...
I have some variables inside a template and I don't know where I assigned them. I need to know what is inside a particul...
I have the below date format in the codeignitor config.php [Code Block] When I enter '30/04/2010' in the text input fiel...
[Code Block] reports: Undefined class constant 'MYSQL_ATTR_INIT_COMMAND' Is it renamed?
I am using php code to query to a database and the results will be used to generate a report. If I want the report to be...
As per the title, is there PHP equivalent of `__name__ == "__main__"`? Is there something that would work for both scrip...
Say I have an array with the following members: [Code Block] How can I get an array with all the elements starting with ...
http://php.net/manual/en/mysqli.init.php [Code Block] The above code fails with: Fatal error: Non-static method mysqli::...
MySQL Command: [Code Block] What is the corresponding PHP Command?? This Approach Does Not Seem To Work: [Code Block]
Showing 6793 to 6804 of 6985 articles