Advertisement
contatowellington

Untitled

Nov 24th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. if (!$novo) {
  2. $query = "UPDATE `".$_VO['tabela_v']."` SET `hora` = NOW() WHERE `identificador` = '".$identificador."' LIMIT 1";
  3. $resultado = mysql_query($query);
  4. $atualizado = (bool)(mysql_affected_rows($resultado) == 1);
  5. }
  6.  
  7. Preciso afetar com esse update o campo da tabela link junto com campo hora acima
  8. Inserir esse now no campo hora.
  9. Repeti a linha, mas estΓ‘ inserindo 2 valores na tabela
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement