Nao vey,
Validação é server-side.
Com PHP
falo
- Fórum WMO
- → Viewing Profile: Posts: Red FeniX
Community Stats
- Group Usuários
- Active Posts 24
- Profile Views 798
- Member Title Novato no fórum
- Age Age Unknown
- Birthday Birthday Unknown
-
Sexo
Não informado
0
Neutral
User Tools
Friends
Red FeniX hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Problema Na Validação De Dados
03/05/2009, 20:45
In Topic: Noticia Com 2 Imgens...
26/04/2009, 23:21
Tenta:
flow
$idNoticia = $_GET["NoticiaID"]; $sql = "SELECT * FROM (fotos_noticia INNER JOIN fotos ON fotos_noticia.NoticiaID=fotos.FotoID) INNER JOIN noticias ON fotos_noticias.NoticiaID = noticias.ID WHERE fotos_noticia.NoticiaID = '$idNoticia' AND noticias.ID = '$idNoticia'"; $query = mysql_query($sql);
flow
In Topic: Problemas Com Enquete
26/04/2009, 22:25
Ae,
Coloquei o error_reporting E_ALL e retornou isso na página confirma.php:
Linha 12:
Linha 27:
Linha 6:
nada!
Sobre o q tu disse, retornou isso:
Qual o erro da minha lógica?
Ah, mudei isso aqui:
Pra isso:
Falo
Coloquei o error_reporting E_ALL e retornou isso na página confirma.php:
Notice: Undefined index: opcao in C:\Arquivos de programas\VertrigoServ\www\csl\confirma.php on line 12 Warning: Cannot modify header information - headers already sent by (output started at C:\Arquivos de programas\VertrigoServ\www\csl\confirma.php:12) in C:\Arquivos de programas\VertrigoServ\www\csl\confirma.php on line 27
Linha 12:
$id_op = $_POST["opcao"];
Linha 27:
header("Location: resultado.php?id=".$id);
Linha 6:
nada!
Sobre o q tu disse, retornou isso:
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Qual o erro da minha lógica?
Ah, mudei isso aqui:
$total_vts = $vts++; $votos_ac = $nvotos++;
Pra isso:
$total_vts = $vts + 1; $votos_ac = $nvotos + 1;
Falo
In Topic: Cadastro Com Foto
25/04/2009, 11:39
In Topic: Problemas Com Link
22/04/2009, 19:15
blz, resolveu!
vlew
vlew
- Fórum WMO
- → Viewing Profile: Posts: Red FeniX
- Privacy Policy
- Regras ·