Jump to content
Fórum Script Brasil
  • 0

Não Mostrar Conteúdo Variável No Navegador


Ferrarinus
 Share

Question

4 answers to this question

Recommended Posts

  • 0

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);

Link to comment
Share on other sites

  • 0

hum, deve ser isso

seu 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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      151k
    • Total Posts
      649k
×
×
  • Create New...