Ferrarinus Posted December 5, 2006 Report Share Posted December 5, 2006 exemplo:http://servidor//scgcfix.php?w_cpad=100086 Quote Link to comment Share on other sites More sharing options...
0 Beraldo Posted December 5, 2006 Report Share Posted December 5, 2006 ?? :blink: Qual é a sua dúvida??[]'s Quote Link to comment Share on other sites More sharing options...
0 kandrade Posted December 5, 2006 Report Share Posted December 5, 2006 poste a parte do script que joga o conteúdo da variável na tela. Quote Link to comment Share on other sites More sharing options...
0 Ferrarinus Posted December 5, 2006 Author Report Share Posted December 5, 2006 pesquiso na tabela com seguinte código (quero que não mostre o conteúdo da variável)if (($w_cpad != '') or ($w_insc != '')) { include "conecta.php"; if (!empty($w_cpad)) { $comando = "select * from profiss where cpad_pro = '$w_cpad'"; } if (!empty($w_insc)) { $comando = "select * from profiss where insc_pro = '$w_insc'"; } $result = mysql_query($comando, $conec); $linha = mysql_num_rows($result); Quote Link to comment Share on other sites More sharing options...
0 kandrade Posted December 5, 2006 Report Share Posted December 5, 2006 hum, deve ser issoseu register_global deve estar off, então ele não recebe assim diretamente a variável, voce precisa fazer isso:$pvar=$_GET["w_cpad"]; // para metodos GET $gvar=$_POST["w_cpad"]; // para metodos POST Quote Link to comment Share on other sites More sharing options...
Question
Ferrarinus
exemplo:
http://servidor//scgcfix.php?w_cpad=100086
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.