EDDYMENS

Published a year ago

How To Create A Block Button In Bootstrap 5 (full Width Button)

Bootstrap 5 no longer uses the class to create full-width buttons. To create a full-width button you will need to wrap the button in a tag that has a grid class i.e.: (grid d...

Published a year ago

Regex Get All Images In A Markdown File | PHP

The PHP script below parses and returns the URL and ALT of image tags found in any markdown text. Note: I added support for the HTML image tag as well since markdown is a superset of HTML. ...

Published a year ago

Regex Get All Images In A Markdown File | JS

The script below makes it possible to parse and extract URLs and ALT data of image tags from markdown text using Javascript. ...

Published a year ago

A Row Must Be An Array Or A TableSeparator Instance | Laravel Artisan Fix

If you try using the Laravel artisan output command , you might end up with the error This means whatever the method is getting is either not an array or in a format that is usable by the method. First check to be sure the data being passed is an array. You can use the...

Published a year ago

Simple PHP Templating Engine

In this article, I will share two ways you can implement a simple templating engine in PHP. The focus is on data templating and does not include implementation for looping and handling conditions. PHP comes with an inbuilt templating syntax you can use. ...

Published a year ago

Export CSV In Javascript

The snippet below allows you to export your provided data as CSV from your Javascript frontend: ...