$link = mysqli_connect("localhost", "afhorgbr_site", "new25new85!", "afhorgbr_afhorg_sistema") or die("Error!!");
$cpf = $_POST['cpf'];
$query = "SELECT * FROM usuario WHERE cpf LIKE '%$cpf%' LIMIT 5";
if ($result = mysqli_query($link, $query)) {
/* fetch associative array */
$row = mysqli_fetch_assoc($result);
//$result_cursos = "";
//echo "Nome do curso: ".$rows_cursos['nome']."
";
?>