
<?php
$zip="6"; // ou $zip="45";
$req=mysql_query("select dep from table where dep REGEXP '(^($zip)([0-9]{3}))$'");
while ($data=mysql_fetch_assoc($req)
{
echo $data['dep'],'<br />';
}
?>
© 2003 - 2008 www.expreg.com - Toutes reproductions interdites sans l'autorisation écrite des auteurs