Hi Pete I forgot to write that $acces is a field from Db and there are values 1,2,3,4 a need to split those values to make that IF Brettking I think that is solution "Peppe" <peppe1001@xxxxxxxxxxx> wrote in message news:20031211160647.6896.qmail@xxxxxxxxxxxxxxx > Hi > I have a variable cold $access and there are values 1,2,3,4,5 > How can I check for example > If ($access =='2'){ > echo "go further"; > } > How can I make this work > Thanx in advance -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php