Get class name from file
I have a php file which contains only one class. how can I know what class is there by knowing the filename? I know I ca...
Latest news, tutorials, and updates from the PHP community
7044 articles available
I have a php file which contains only one class. how can I know what class is there by knowing the filename? I know I ca...
I'm using CodeIgniter 2.0.2 and this is from its user guide: [Code Block] Once this is executed, how do you find it has ...
I have a website, and the user has just logged in and it redirects them to the User Dashboard. I have the user_id in a S...
I want to delete "several row mysql database" together after select with checkbox in "codeigniter", but my function not ...
I have two tables one is 'student' another is 'status'.The student table has a foreign key status_status_id. I want to u...
What would be the fastest, most efficient way to implement a search method that will return an object with a qualifying ...
When I execute code that is like this: [Code Block] Will it return whatever was in result before the statement closed or...
I'm trying to convert my procedural code to oop. [Code Block] My incomplete attempt at classes/objects without the HTML ...
I'm finding that I need to write a lot of duplicate code given that I'm unable to call functions from other controllers....
I would like to return the query results along w/ the row count without having to run multiple queries. Is this possible...
I'm looking to refactor some legacy PHP code, and I know that PDO is more secure with the addition of prepared statement...
I want to fake referrer with curl and current code is working fine: [Code Block] Problem that I want to solve is that wh...
Showing 6397 to 6408 of 7044 articles