or die (mssql_error()
$result=mssql_query("select * from usr_direc where '".$cad1."' like '%".$cad2."%'") or die (mssql_error());