just trying to say if $phone isn't all numbers set it to all zeros.. so is that right? 
cause i can't seem to get it to work.

   if (!ereg("^[0-9]$",$phone)) {
    $phone = "0000000000";
   }

thanks!

Reply via email to