php logo
PHP implode

PHP implode function permit us convert an arrray into a String, but the term correct is that impode make a union($glue) between the array elements creating a string. This function recives 2 parameters, $glue and the $array. Syntax : implode($glue,$array); Let’s make a little example, suppose we have a list of users and i need […]

Leer mas..
php logo
PHP explode

PHP explode is practically the opposite of implode. This divide a string in substrings that are stored in an array This function receives 3 parameters, the delimiter (string) that is where the string will be cut, another one that is the string and a third parameter that is optional called limit. Sintaxis de explode explode($delimiter,$string,$limit) […]

Leer mas..
php logo
Sending Emails with PHP

On this post I’m going to explain how to send Email with PHP, at first this post was thought to touch function mail() only, but this probably is not the best tool to send emails in your situation, so I’ll divide this post in 3, this and 2 other post writing about how to send […]

Leer mas..
php logo
PHP Sessions

Sometimes we need to create a website that need sessions to know if a user is logged or not, or other data we need between pages. session_start() We can start a session anytime with session_start() or resume the existing one. Recuerde que las sesiones se utilizan para guardar datos de la sesión mientras esta está […]

Leer mas..
la categoria en-php tiene 4 post/s
Last 4 post in same category