grazie x l'aiuto, cmq ho risolto con un altro script che interagisce con database mysql