Find Jobs
Hire Freelancers

php excel expert

$15-25 USD / hour

En curso
Publicado hace alrededor de 6 años

$15-25 USD / hour

Need some fast work 1-2 now Need to work with you now to get a different lay out on my cvs file I generated - I will work with you in real time to code Sample code - <?php ob_start(); require_once '../class/[login to view URL]'; require_once '../class/[login to view URL]'; $db = new Database; if ($_SESSION['login'] == FALSE) { header('location:' . ADMINURL . '/[login to view URL]'); } $or_id = $_GET['or_id']; header('Content-Type: application/excel'); header('Content-Disposition: attachment; filename="order#'.$or_id.'.csv"'); $get_order = $db->conn->query('SELECT * FROM tbl_orders WHERE or_id = '.$or_id); $order = $get_order->fetch_object(); $po_type = $order->or_po_type; $purchase_order = $order->or_purchase_order; $gross_amount = str_replace(",", "", $order->or_gross_amount); $discount_amount = str_replace(",", "", $order->or_discount_amount); $freight_amount = str_replace(",", "", $order->or_freight_amount); $total_amount = str_replace(",", "", $order->or_total_amount); $address = str_replace(","," ", stripcslashes($order->address)); $special_insruction = $order->special_instruction; $status = $order->or_status; $date = $order->or_date; $row = array("$po_type, $purchase_order, $status, $date, $address, $special_insruction, $gross_amount, $discount_amount,$freight_amount, $total_amount"); $fp = fopen('php://output', 'w'); $heads = array('PO ZZZType, Purchase Order, Status, Order Date, Address, Special Insruction, Gross Amount, Discount Amount, Freight Amount, Total Amount'); $blank = array('Order ZZZDetails'); foreach($blank as $b) { $bl = explode(',', $b); fputcsv($fp, $bl); } foreach($heads as $head) { $header = explode(',', $head); fputcsv($fp, $header); } foreach($row as $datas) { $data = explode(",", $datas); fputcsv($fp, $data); } $blank = array(' , '); foreach($blank as $b) { $bl = explode(',', $b); fputcsv($fp, $bl); } $blank = array('Order Items'); foreach($blank as $b) { $bl = explode(',', $b); fputcsv($fp, $bl); } $table2_head = array('Part Name, Part Description, Part Information, Color, Bulk, Part Number, Bulk Unit, Quantity, Unit Price, Total Quantity, Total Price'); foreach($table2_head as $head2) { $header2 = explode(',', $head2); fputcsv($fp, $header2); } $get_order2 = $db->conn->query('SELECT * FROM tbl_orders2 WHERE or_oid = '.$or_id); while($order2 = $get_order2->fetch_object()) { $part_name = $order2->or_part_name; $part_des = $order2->or_part_d_name; $part_info = $order2->or_part_info; $colorselect= $order2->colorselect; $bulk = $order2->or_bulk; $part_no = $order2->or_part_number; $bulk_unit = $order2->or_bulk_unit; $quantity = $order2->or_quantity; $unit_price = $order2->or_unit_price; $total_quantity = $order2->or_total_quantity; $total_price = $order2->or_total_price; $data2 = array("$part_name, $part_des, $part_info, $colorselect,$bulk, $part_no, $bulk_unit, $quantity, $unit_price, $total_quantity, $total_price"); foreach($data2 as $datas) { $data_2 = explode(',', $datas); fputcsv($fp, $data_2); } } fclose($fp); ob_flush(); ?>
ID del proyecto: 16567873

Información sobre el proyecto

4 propuestas
Proyecto remoto
Activo hace 6 años

¿Buscas ganar dinero?

Beneficios de presentar ofertas en Freelancer

Fija tu plazo y presupuesto
Cobra por tu trabajo
Describe tu propuesta
Es gratis registrarse y presentar ofertas en los trabajos
Adjudicado a:
Avatar del usuario
A proposal has not yet been provided
$29 USD en 10 días
4,9 (491 comentarios)
8,6
8,6
4 freelancers están ofertando un promedio de $29 USD /hora por este trabajo
Avatar del usuario
Hi there, I'm available to get started right away. I have a 99% project completion rate and a 4.99 reputation (out of max 5.0 from more than 1100 projects over 11 years. Thanks. I look forward to hearing from you Regards, Rajesh Soni.
$23 USD en 10 días
5,0 (1012 comentarios)
8,8
8,8
Avatar del usuario
Hi, I am a php expert. I have gone through the code snippet. Share your requirements and I can help you with the job. Thanks
$29 USD en 40 días
5,0 (236 comentarios)
7,7
7,7
Avatar del usuario
Hi, I am very interested to work on your project. I have 15+ years experience in PHP, Web Development using a large variety of programming languages, frameworks, database architecture, APIs, CRMs, ERPs, mobile development, web design, development tools. There are more then 1000 projects(small/medium/high complexity) successfully implemented and few of them related with yours can be seen on my freelancer.com portfolio. * * Note that my bid is relative and will be adjusted after detailed estimation of implementation effort/coast ** Let's start our collaboration by sending me all details in a written document which will be used as reference during project implementation
$34 USD en 40 días
5,0 (66 comentarios)
5,9
5,9

Sobre este cliente

Bandera de UNITED STATES
New York, United States
5,0
37
Forma de pago verificada
Miembro desde jul 31, 2017

Verificación del cliente

¡Gracias! Te hemos enviado un enlace para reclamar tu crédito gratuito.
Algo salió mal al enviar tu correo electrónico. Por favor, intenta de nuevo.
Usuarios registrados Total de empleos publicados
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Cargando visualización previa
Permiso concedido para Geolocalización.
Tu sesión de acceso ha expirado y has sido desconectado. Por favor, inica sesión nuevamente.