Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- include "scripts/conexao.php";
- function verificaJogoCadastrado(){
- $selectJogo = mysql_query("SELECT * FROM jogo");
- if(mysql_num_rows($selectJogo) > 0){
- echo 'Nenhum jogo cadastrado';
- }else{
- $fetch = mysql_fetch_array($selectJogo);
- return $fetch['campo'];
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement