<?php

require "bootstrap.php";
//require "classes\User.php";
//require "classes\Todo.php";
require "classes\Clientes.php";

//$user = User::Create([    'name' => "Ahmed Khan",    'email' => "ahmed.khan@lbs.com",    'password' => password_hash("ahmedkhan",PASSWORD_BCRYPT), ]);

/*
print_r($user->todo()->create([

   'todo' => "Working with Eloquent Without PHP",

   'category' => "eloquent",

   'description' => "Testing the work using eloquent without laravel"

   ]));
*/
  // $idCliente = '100-000094';
  //   $o = Clientes::where('idcliente', $idCliente)->first();

  //   print $o['nombreleg'];

  //   $o['nombreleg'] = "Juan Perez";
  //   $o = Clientes::where('idcliente', $idCliente)->save();
  //   print $o['nombreleg'];

          // $model->where('column', '=', 'value')->update(['another_column' => 'new_value']);

   
     //$o['nombreleg'] = 'Salvador de El';
     //$o->save()->where('idcliente',$idCliente);