Forgot password? Use magic link instead
Register now for FREE
This snippet is a function that can be placed in app/Bootstrap.php to have a global function to escape PDO parameters.
You can add multiple databases to one app, this snippet show's various ways of using different connections.
It's possible to create a relationship with a single model by calling itself in a hasMany() call. This snippet allows you can display categories and then get the sub categories by calling the children relationship method.
Login to add a snippet Create Account