Ir para conteúdo

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

  • 0
Jack Oliveira

SISTEMA TROCANDO OS CAMPOS

Pergunta

sistema2.thumb.jpg.7ad55ce4b02ca7745952e1a82733a36d.jpgOLA PESSOAL ESTOU TENDO O SEGUINTE PROBLEMAS NO SISTEMA DE CADASTROS E EDIÇÃO

 QUANDO FAZ O CADASTRO ELE FICA TUDO FORA DOS SEUS CAMPOS

 POR EX:

  ONDE ESTA FOTO FICA O NUMERO DE CONTATO ETC..

ANTES ELE ESTAVA CADASTRANDO DE BOA

IGUIAL ESTA IMAGEM EM BAIXO 

EU NÃO ENTENDO DE PHP 

E GOSTARIA QUE ALGUÉM PUDESSE ME DIZER COMO RESOLVER ISSO

 

 

sistema.jpg

Compartilhar este post


Link para o post
Compartilhar em outros sites

0 respostas a esta questão

Recommended Posts

Até agora não há respostas para essa pergunta


  • Conteúdo Similar

    • Por nathan.silva6
      Pessoal estou com uma dúvida nesse código (ainda não terminei), eu quero que ele mostre os dados do sql!!! Mas está dando erro de sintaxe quando jogo no bank do scriptcase! Alguém consegue me ajudar??
      <!DOCTYPE html> <html> <head> <title></title> </head> <body> <?php include("conex.php"); $sql=" SELECT CoopPr.id_cooperados, Coop.nome, CoopPr.data_presenca_diaria, SEC_TO_TIME(SUM(TIME_TO_SEC(CoopPr.total_real_trabalhado))) FROM tb_rh_cooperados_presenca_diaria_detalhes CoopPr INNER JOIN tb_rh_cooperados Coop ON CoopPr.id_cooperados = Coop.id WHERE (CoopPr.data_presenca_diaria >= '2019-07-01') AND (CoopPr.data_presenca_diaria <= '2019-07-31') GROUP BY Coop.nome ORDER BY Coop.nome"; $consulta = mysql_query($mysql_id, $sql); $valores=mysql_fetch_array($consulta); if(empty($consulta)) { echo "Sem resultados"; } else { echo $valores["id_cooperado"]; echo $valores["nome"]; echo $valores["data_presenca_diaria"]; echo $valores["total_real_trabalhado"]; } ?> </body> </html>  
    • Por camargo.2018
      Tou com um erro no meu script e não sei identificar erra pra ele exibir a imagem do usuário mas isso não está acontecendo
       
      Error:

       
      funcao.php:
      function ver_avatar($nick){ include 'str_get_html.php'; $url = "http://pt.clubcooee.com/users/view/".$nick; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/4.0 (compatible; MSIE 5.01; Windows NT 5.0)'); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 15); curl_setopt($ch, CURLOPT_TIMEOUT, 15); $return = curl_exec($ch); curl_close($ch); $html = str_get_html($return); $res = $html->find('.m33 img'); $imgLink = $res[0]->attr['src']; return $imgLink; } str_get_html.php:
      <?php function str_get_html($str, $lowercase=true, $forceTagsClosed=true, $target_charset = DEFAULT_TARGET_CHARSET, $stripRN=true, $defaultBRText=DEFAULT_BR_TEXT, $defaultSpanText=DEFAULT_SPAN_TEXT) { $dom = new simple_html_dom(null, $lowercase, $forceTagsClosed, $target_charset, $stripRN, $defaultBRText, $defaultSpanText); if (empty($str) || strlen($str) > MAX_FILE_SIZE) { $dom->clear(); return false; } $dom->load($str, $lowercase, $stripRN); return $dom; } ?> menu.php:
      <div class="usr-nav"> <img src="<?php $veavt = ver_avatar($usr); echo $veavt; ?>" class="img-usr"> <p class="name-usr">Nome do Usuário</p> </div>  
      Me Ajudem mas rápido possível pfvrrrr
    • Por MichellHenrique
      Olá pessoal,
       
      estou com problema na hora de mostrar os erros durante o desenvolvimento. Mesmo alterando php.ini em:
      display_errors = On
      display_startup_errors = On
      error_reporting = E_ALL
       
      o php não pega as alterações, pois ao mostrar as configurações com phpinfo(); display_errors ainda está Off
       
      display_errors Off Off display_startup_errors Off Off doc_root no value no value docref_ext no value no value docref_root no value no value enable_dl Off Off enable_post_data_reading On On error_append_string no value no value error_log no value no value error_prepend_string no value no value error_reporting 22527 22527  
      Engraçado é que quando coloco na página o comando:
      // Forçar php a mostrar erros ini_set("display_errors", 1); error_reporting(E_ALL); ai os erros começam a aparecer...
       
      Alguem poderia ajudar?
    • Por Fabecko
      Galera, eu tinha postado uns problemas com o phpMailer e como não tive sucesso aqui, achei algumas soluções no stackoverflow e na comunidade do hardware.
      Resolvi em partes o meu problema. Depois que fiz as mudanças necessárias nas minhas classes deu esses erros:
       
      2018-01-14 00:47:47 SERVER -> CLIENT: 220 smtp.gmail.com ESMTP d201sm5397777qke.69 - gsmtp
      2018-01-14 00:47:47 CLIENT -> SERVER: EHLO 127.0.0.1
      2018-01-14 00:47:47 SERVER -> CLIENT: 250-smtp.gmail.com at your service, [179.252.135.195]250-SIZE 35882577250-8BITMIME250-STARTTLS250-ENHANCEDSTATUSCODES250-PIPELINING250-CHUNKING250 SMTPUTF8
      SMTP Error: Could not authenticate.
      2018-01-14 00:47:47 CLIENT -> SERVER: QUIT
      2018-01-14 00:47:47 SERVER -> CLIENT: 221 2.0.0 closing connection d201sm5397777qke.69 - gsmtp
       
      Alguem sabe como resolver?
    • Por Leo Schneider
      POR FAVOR ALGUEM ME AJUDA A ACHAR ERROS NO MEU CODIGO. O PROBLEMA NELE É QUE EU FIZ UM JS PRA FAZER O ESTILO BACKGROUND COLOR MUDAR NO FUNDO DOS CLASS==BLOCOS OU CADA UM POR ID(A,B,C,D,E,F,G,H,I)... SE ALGUEM PUDER RESPONDER EU AGRADEÇO..
       
       
       
      <!doctype html>
      <!DOCTYPE html>
      <html>
      <head>
          <title>APP FOE</title>
          <meta charset="utf-8">
          <style type="text/css">
              @import url('https://fonts.googleapis.com/css?family=Spectral+SC');
              body {
                  background-image: url('https://i.pinimg.com/originals/76/36/5e/76365e38703aa2d2d9cfd3210ebb6d75.jpg');
                  background-size: 100%
              }
              #bloco {
                  width: 1000px;
                  display: block;
                  margin: 100px auto 0 auto;
              }
              .blocos {

                  background-color: rgba(141, 80, 80,.875);
                  border-radius: 4px;
                  margin: 10px;
                  padding-top: 5px;
                  padding-bottom: 5px;
                  width: 300px;
                  text-align: center;
                  color: black;
                  font-weight: 900;
                  font-family: 'Spectral SC';
                  font-size: 14px;

              }
              .linha {
                  display: inline-block;
              }
              button {
                  padding: 3px;
                  margin: 3px 0 5px 0;
                  background-color: rgba(0,0,0,.8);
                  color: white;
                  border: none;
                  padding: 5px 12px;
              }
              h2{
                  margin: 5px 0 0 0 ;
              }
          </style>
          <script type="text/javascript">
              var a , b , c , d , e , f , g , h , i;
              a = 0 ; b = 0 ; c = 0 ; d = 0 ; e = 0 ; f = 0 ; g = 0 ; h = 0 ; i = 0 ;
              
              function a () {
                  if (a==0) {
                      a=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      a=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function b () {
                  if (b==0) {
                      b=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      b=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function c () {
                  if (c==0) {
                      c=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      c=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function d () {
                  if (d==0) {
                      d=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      d=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function e () {
                  if (e==0) {
                      e=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      e=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function f () {
                  if (f==0) {
                      f=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      f=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function g () {
                  if (g==0) {
                      g=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      g=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function h () {
                  if (h==0) {
                      h=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      h=0;
                      document.getElementById('').style.backgroundColor = 'rgba(141, 80, 80,.875)';
                  }
              }
              function i () {
                  if (i==0) {
                      i=1;
                      document.getElementById('').style.backgroundColor = 'rgba(81, 112, 78,.875)';
                  } else {
                      i=0;
                  }
              }
          </script>
      </head>
      <body>
          <div id="bloco">
              
              <div class="linha">
                  <div class="blocos" id="a"><h2>        ARVAHALL        </h2>    <button onclick="a()">CLICK!</button>    </div>
                  <div class="blocos" id="b"><h2>        BRISGARD        </h2>    <button onclick="b()">CLICK!</button>    </div>
                  <div class="blocos" id="c"><h2>        CIRGARD            </h2>    <button onclick="c()">CLICK!</button>    </div>
              </div>
              <div class="linha">
                  <div class="blocos" id="d"><h2>        DINEGU            </h2>    <button onclick="d()">CLICK!</button>    </div>
                  <div class="blocos" id="e"><h2>        EAST-NAGACH        </h2>    <button onclick="e()">CLICK!</button>    </div>
                  <div class="blocos" id="f"><h2>        FEL DRANGHYR    </h2>    <button onclick="f()">CLICK!</button>    </div>
              </div>
              <div class="linha">
                  <div class="blocos" id="g"><h2>        GREIFENTAL        </h2>    <button onclick="g()">CLICK!</button>    </div>
                  <div class="blocos" id="h"><h2>        HOUNDSMOOR        </h2>    <button onclick="h()">CLICK!</button>    </div>
                  <div class="blocos" id="i"><h2>        JAIMS            </h2>    <button onclick="i()" >CLICK!</button>    </div>
              </div>
          </div>
      </body>
      </html>
×

Informação importante

Ao usar o fórum, você concorda com nossos Termos e condições.