Codice PHP:
$insertSQL = sprintf("INSERT INTO info (email, password, `expires`, phone, cognome, cell) VALUES (%s, %s, DATE_ADD(NOW(), INTERVAL ".$credit['days']." DAY, %s, %s, %s)", GetSQLValueString($_POST['email'], "text"), GetSQLValueString(md5($password), "text"), GetSQLValueString($_POST['expires'], "date"), GetSQLValueString($_POST['phone'], "text"), GetSQLValueString($_POST['cognome'], "text"), GetSQLValueString($_POST['cell'], "text"));
grazie..così è corretta?
in pratica devo aggiungere la data nel campo expires..