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
What Is Deep Linking?The general term links is used interchangeably with URLs to refer to the piece of string you type into the search bar of a browser to land on a website. A deep link in this case is a URL that points to a particular web page of a website. Say you wanted to visit my A...
Published a year ago
Mermaid Tutorial (setup)If you do not already know Mermaid diagrams makes it possible to create diagrams within your Markdown or HTML. Mermaid diagrams might not yet be supported within your CMS in which case you...
Published a year ago
Mermaid Tutorial (flowchart)flowchart TD start(START) --> input[/Get l,b/] --> process[A = l*b] --> decision{is A < 12} decision --> |Yes| input decision --> |No| output output[/print A/] --> stop(STOP) import mermaid from 'https:/...
Published a year ago
Php://input Returns EmptyThere are many reasons why will return an empty result. One of the reasons will return an empty result is if the URL you are sending the data to redirects to a final destination. Use an online ...
Published a year ago
Export CSV In JavascriptThe snippet below allows you to export your provided data as CSV from your Javascript frontend: ...