How to pass a single query row from a model method to the view as a flat associative array [duplicate]
I have the following query, which returns a single row. Model: [Code Block] Controller: [Code Block] I then run a foreac...
Latest news, tutorials, and updates from the PHP community
7071 articles available
I have the following query, which returns a single row. Model: [Code Block] Controller: [Code Block] I then run a foreac...
I'm sending data through a form to PHP code via AJAX but some of the hidden input fields are arrays. How can I create a ...
Here is my model - I want to assign the rows and echo out on the view page e.g `` [Code Block] Here's my controller [Cod...
I'm going to generate a PDF report using FPDF library, but the output is blank. There is no error displayed, how can I f...
I am sitting on a large codebase that contains several classes that expose functionality through magically implemented m...
I'm Using DOM PDF 0.6.0 Beta 2. I want to use custom fonts (Fonts: 'Segeo Print', 'Lucida Handwriting','Airplanes in the...
Here is my code [Code Block] i got this after `var_dump` of `$client` [Code Block] however I am getting this message whe...
I get notification from my web hosting company to optimize MySQL queries in my website. They told me that the running My...
I'm working on file upload via a webpage with a progress bar using Valums file uploader. Almost everything works fine, b...
I've created a mysql query that pulls through several products, all with the following information: Product ID Product N...
I have 3 Table [Code Block] i build page 1 to show forum_name page 2 to show name_thread group by forum_id ( CAN I INSER...
In PHP, how do you tell if the users' forms submitted is valid and not fraud (i.e. some other form on some other site wi...
Showing 5845 to 5856 of 7071 articles