Thank you! This will be great to learn from. Better a little late, than never grin

Your php is not bad enough to laugh at tongue You may already know this but you can place functions in functions.
Code:
$user = stripslashes(mysql_real_escape_string($user));// Strip slashes & Remove bad characters
$pass = stripslashes(mysql_real_escape_string($pass));

....

$result=$mysqli->query("SELECT * FROM users WHERE nick='$user' and parola='$pass'");


I like php because of how 'dynamic' the usability of the syntax is.

Cheers laugh


A8 Pro 8.45.4
YouTube: Create Games For Free
Free Resources: www.CGForFree.com