Published a year ago
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. ...
Published a year ago
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...
Published a year ago
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. ...
Published a year ago
Export CSV In JavascriptThe snippet below allows you to export your provided data as CSV from your Javascript frontend: ...
Published a year ago
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. ...
Published a year ago
How To Clear Entire Session Or Local StorageUse the above code to clear every localStorage data. ...