$ q = "вставить в order_details (order_id, product_id, product_name, product_quantity, product_price, made_at, updated_at) значения (?,?,?,?,?, NOW (), NOW ())";
$stmt = mysqli_prepare($dbc, $q);
mysqli_stmt_bind_param ($ stmt, 'iisid', $ ord, $ pid, $ _SESSION ['product_name'], $ qty, $ price);