Last updated 2023-05-18 14:01:04
Regex Get All Images In A Markdown File | PHPThe 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. ...
Last updated 2023-05-18 08:35:33
Regex Get All Images In A Markdown File | JSThe script below makes it possible to parse and extract URLs and ALT data of image tags from markdown text using Javascript. ...
Last updated 2023-05-15 11:19:41
A Row Must Be An Array Or A TableSeparator Instance | Laravel Artisan FixIf 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...
Last updated 2023-05-09 15:13:38
Simple PHP Templating EngineIn 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. ...
Last updated 2023-05-01 05:28:09
Export CSV In JavascriptThe snippet below allows you to export your provided data as CSV from your Javascript frontend: ...
Last updated 2023-04-14 03:48:56
How To Add Titles To Console.table OutputTo output data in a table, you need to ensure your dataset comprises objects with keys and is packed within an array. Below is sample code showing what this looks like. ...