Skip to content

Instantly share code, notes, and snippets.

@fayqLs
Last active April 20, 2024 00:31
Show Gist options
  • Save fayqLs/5d150e0860b41332b1cf4ec69b4482ab to your computer and use it in GitHub Desktop.
Save fayqLs/5d150e0860b41332b1cf4ec69b4482ab to your computer and use it in GitHub Desktop.
ALTERAR O REGISTRO
<?php
$id = 1;
$cliente = Cliente::find($id);
if($cliente)
{
$cliente->celular = '(83) 98655-6461';
$cliente->store();
}
# 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment