Ceea ce ceri tu e un script complet, sau doar sa il aleaga pe xulescu din db pintr-un $_GET? Daca e doar prin $_GET iti prezint o metoda folosita de mine: htaccess: <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / </IfModule> Options +FollowSymLinks All Indexes RewriteEngine on RewriteRule user-(.*)$ user.php?x=$1 user.php <?php $xulescu = $_GET['x']; if($xulescu != ""){ $user = mysql_fetch_object(mysql_query("SELECT * FROM `tabelusers` WHERE `username`='$xulescu'"));{ if($user->username == "$xulescu"){ echo"$user->username a fost gasit in baza de date."; } else { echo"$xulescu nu exista in baza de date."; } }} ?> si poti accesa user.php catre xulescu prin metoda asta daca pui si in htaccess ce te-am dat mai sus: http://site.com/user-xulescu sau fara htaccess prin http://site.com/user.php?x=xulescu Sau daca vrei altceva, explica mai clar... scripturi sunt o gramada pe google