Shorthand if/else for PHP

Shorthand if/else for PHP

There is a special if/else functionality available that not many programmers know how to utilize that I now want to share with you. This function is called a Ternary operation. The ternary operation takes 3 arguments, The first which is the conditional expression, the...
How to send mail with PHP

How to send mail with PHP

Sometimes you want to send mail from your php code, maybe you want to send a mail to yourself on an event or send a message to your users or subscribers, don’t fear this is not a hard task to accomplish, and as usual in programming, there is many paths to the...