-1
Hello, I need to check if there is an answer to my query. If there is, you should display an HTML code displaying the database data. Otherwise you should 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";}