PHP function to generate Slug

Here is simple function to generate slug in php. You can copy paste this function and generate slug by passing string in it.

function slugify($text){
// replace …

Set validation on run time cakephp3

This is very simple and tested method of validation you can use in your project. Some time we need to add validation on fly in our controller then at that case you can use this code.

Increase Android Studio Speed

Some time while we creating project in android studio the main issue we faced is speed and performance. So here is solution which i use to solve this issue. For Ubuntu Users Go to location where you i…

Send email in cakephp 3

If you are working with cakephp 3 and need to send email then this tip help you to send email. Step 1. Go to your app.php and find EmailTransport and add your SMTP details

About
Trinity tips is one of the best place for beginners to learn android, php, google and web design tutorial and tips. - Maintained by Aneh Thakur
Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 3 other subscribers