Camron Cade

Artisan web development, mostly using Laravel.

2 posts under
PHP Tidbets

Things to note when using Dompdf

While using Dompdf for a project I came across two small things that are worth noting. Dompdf is a PHP package that converts html/css markup into a PDF. It's not super stable and can be gimmicky at times, but it works. 1. Image widths After struggling to get Dompdf to respond to CSS,...

Read More

The list() function [PHP]

The list() function was one of those functions that I didn't learn about in any PHP course, but has stumbled across while looking at others code. It's not really a function, but is a language construct but can be very handy. Basically, it unpacks arrays and assigns the keys individual variables. Here's an example...

Read More