Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

order table in laravel

public function order(Request $req){
        $order = new Order;
        $order->pay_number = $req->checkout_number;
        $order->pay_totals = $req->checkout_total;
        $order->save();
        return redirect(route('pay'))->with('message','Sending infomation successfully');
    }
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #order #table #laravel
ADD COMMENT
Topic
Name
9+8 =