vlw galera....
- Fórum WMO
- → Viewing Profile: Posts: Léo_alves
Community Stats
- Group Usuários
- Active Posts 8
- Profile Views 344
- Member Title Novato no fórum
- Age Age Unknown
- Birthday Birthday Unknown
-
Sexo
Não informado
0
Neutral
User Tools
Friends
Léo_alves hasn't added any friends yet.
Latest Visitors
-
Guest
04/11/2007, 06:35
Posts I've Made
In Topic: Problemas Com Login!
30/01/2007, 07:34
Funcionou!!!!!!!
vlw galera....
vlw galera....
In Topic: Problemas Com Login!
29/01/2007, 15:44
poiseh... mas ainda nao funfou nao...
tah dando o seguinte erro
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\webmaster\admin\verifica.php on line 10
......
vlw
tah dando o seguinte erro
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in C:\webmaster\admin\verifica.php on line 10
......
vlw
In Topic: Problemas Com Login!
29/01/2007, 14:42
Ok, mas o que seria a linha 10 no teu código?
Falopa!
a linha 10 do meu codigo eh a linha
$row =m ysql_fetch_array($selecao);
In Topic: Problemas Com Login!
29/01/2007, 10:00
No Database selected
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\webmaster\admin\verifica.php on line 10
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\webmaster\admin\verifica.php on line 18
Traduza o erro e tire suas conclusões![]()
Abraços
deixei o codigo assim e ele da soh uma msg de erro...a mesma do mysql_fetch_array....
<?php require_once('../Connections/conexao.php'); ?>
<?php
$apelido = $HTTP_POST_VARS["apelido"];
$senha = $HTTP_POST_VARS["senha"];
$selecao = mysql_query("SELECT * FROM admin WHERE apelido = '".$apelido."' AND senha = '".$senha."'");
$row = mysql_fetch_array($selecao);
if ($row == "")
{
echo "<center>apelido e/ou senha inválidos.</center>";
echo "<br>";
echo "<center><a href=java script:history.go(-1);>Voltar</a></center>";
exit;}
else
{
session_start();
$_SESSION["apelido"] = $apelido;
header ("location:index.php");
}
mysql_close($conexao);
?>
erro:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\webmaster\admin\verifica.php on line 10
In Topic: Problemas Com Login!
29/01/2007, 08:59
Legal mas qual foi o erro? não sabia que mysql_fetch_array() retornava erros...
OBS.: Segue a mesma sintaxe do ditado "É problema na BIOS!".
Falopa!
No Database selected
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\webmaster\admin\verifica.php on line 10
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in C:\webmaster\admin\verifica.php on line 18
- Fórum WMO
- → Viewing Profile: Posts: Léo_alves
- Privacy Policy
- Regras ·



Postagens