Guest User

Untitled

a guest
Jan 18th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. date_default_timezone_set('America/Tijuana');
  2. $year = date("y");
  3.  
  4. if (isset($_POST['numFile']))
  5. {
  6. $queryDate = "SELECT max(numFile) as max from inventory_list";
  7. $saveDate = $connection->executeQuery($queryDate,array($_POST['numFile']));
  8.  
  9. $addFolio = 'UPDATE inventory_list SET folio = "EST"."-"."00".'$saveDate'."-".'$year'';
  10. $result = $connection->executeNonQuery($addFolio,array($_POST['folio']));
  11. }
Add Comment
Please, Sign In to add comment