Archive for the ‘CakePHP’ Category

CakePHP Multi-record forms

While developing a registration form for a client I had the following problem: This form needed to be able to grab multi-record values for one table. In this case I had a form where a person could sign up more than one participant. (Using CakePHP standard form names) echo $form->input(’Participant.0.first_name’); echo $form->input(’Participant.0.last_name’); echo $form->input(’Participant.1.first_name’); echo [...]

CakePHP and TCPDF

I needed to be able to generate PDFs for a client project and came upon this tutorial for using CakePHP and TCPDF. It turned out I needed to make some tweaks and after gathering info from different Google sources finally got it to work. Thought I’d save someone else the trouble and post my version. [...]