Hello, I need to check if there is an answer for my query. If it exists, it should display an HTML code displaying the bank's data. Otherwise you must notify that there is no result. How do I make this selection?
Example:
$sql = "select * from cronograma WHERE equipe='".$equipe."' AND datas='".$data."' ";
$cronograma = mysqli_query($conexao, $sql);
//nesse ponto deve verifiar se existe resultado
if($cronograma = existe){
//exibe resultado da tabela}
else{ echo "Não existe resultado";}