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