Find Jobs
Hire Freelancers

Build me a php code that can insert CURL data (html table) in mysql (not mysqli) table

$10-30 USD

I përfunduar
Postuar about 3 years ago

$10-30 USD

Paguhet në dorëzim
I have the CURL Code as follows: <?php $url = "[login to view URL]"; $curl = curl_init($url); curl_setopt($curl, CURLOPT_URL, $url); curl_setopt($curl, CURLOPT_POST, true); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); $headers = array( "Content-Type: application/x-www-form-urlencoded", ); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); $data = "instance[trackid]=BA00000550226&submit=value2"; curl_setopt($curl, CURLOPT_POSTFIELDS, $data); //for debug only! curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); $resp = curl_exec($curl); curl_close($curl); $first_step = explode( '<table border="0" cellspacing="0" cellpadding="0">' , $resp ); $second_step = explode("</table>" , $first_step[1] ); echo $second_step[0]; ?> Each event is separated from each other with <tr><td class="al-top" colspan="2" style="padding: 10px 0;"><div class="line-divider"></div></td></tr>. I need each event to be inserted in the mysql table. Dates (e.g. 08.04.2021 18:36) should be converted into php time and inserted this way. The php code should also check the latest (first) event and if it it says delivered or picked up by the addressee: update sales set status = 6
ID e Projektit: 29843186

Rreth projektit

5 propozime
Projekt në distancë
Aktive 3 yrs ago

Po kërkoni të fitoni para?

Përfitimet e ofertës për Freelancer

Vendosni buxhetin dhe afatin tuaj
Paguhuni për punën tuaj
Përshkruani propozimin tuaj
Është falas të regjistrohesh dhe të bësh oferta për punë
I dhënë për:
Avatari i Përdoruesit
I'm interested in your project. I am a Serious website developer, and I have 6 years of experience developing websites using HTML, CSS and PHP, and CI, Magento. I read your job description carefully. I have rich website building experience developed several websites last time. I am sure that I can complete your tasks perfect in time. I would love to have the opportunity to discuss this with you for further details. Thank You Rajesh Jangid
$30 USD në 7 ditë
4,6 (12 përshtypje)
3,0
3,0
5 freelancers are bidding on average $44 USD for this job
Avatari i Përdoruesit
I can help you build a php code, which can insert data to mysql table, that too extract certain fields from html. Lets Discuss. thanks.
$40 USD në 1 ditë
5,0 (27 përshtypje)
4,8
4,8
Avatari i Përdoruesit
I can have the script setup sir, to insert API response from the cURL into your sql database. Kindly reach me via the chat sir. Regards Emmanuel.
$80 USD në 2 ditë
4,8 (10 përshtypje)
3,7
3,7
Avatari i Përdoruesit
Hi , Our team always ready to start any challenging work for you, Now we are waiting for your confirmation and we are also committed for your wok and we are try to completed your work ASAP.
$20 USD në 7 ditë
0,0 (0 përshtypje)
0,0
0,0

Rreth klientit

Flamuri i GEORGIA
Tbilisi, Georgia
5,0
2
Mënyra e pagesës u verifikua
Anëtar që nga shk 1, 2018

Verifikimi i klientit

Faleminderit! Ne ju kemi dërguar me email një lidhje për të kërkuar kredinë tuaj falas.
Ndodhi një gabim gjatë dërgimit të email-it tuaj. Ju lutemi provoni përsëri.
Përdorues të regjistruar Punë të postuara
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Po ngarkohet shikimi paraprak
Leja u dha për Geolocation.
Seanca e hyrjes ka skaduar dhe ke dalë. Hyr sërish.