Find Jobs
Hire Freelancers

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

$10-30 USD

Teljesítve
Kiadva ekkor: körülbelül 3 évvel ezelőtt

$10-30 USD

Teljesítéskor fizetve
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
Projektazonosító: 29843186

A projektről

5 ajánlat
Távolról teljesíthető projekt
Aktiválva: 3 évvel ezelőtt

Szeretne pénzt keresni?

A Freelancer oldalán történő árajánlatadás előnyei

Határozzon meg költségvetést és időkeretet
Kapja meg fizetését a munkáért
Vázolja ajánlatát
Ingyen regisztrálhat és adhat árajánlatot munkákra
Neki odaítélve:
Felhasználó avatár
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 7 napon belül
4,6 (12 értékelés)
3,0
3,0
5 szabadúszó adott átlagosan $44 USD összegű árajánlatot erre a munkára
Felhasználó avatár
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 1 napon belül
5,0 (27 értékelés)
4,8
4,8
Felhasználó avatár
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 2 napon belül
4,8 (10 értékelés)
3,7
3,7
Felhasználó avatár
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 7 napon belül
0,0 (0 értékelés)
0,0
0,0

Az ügyfélről

GEORGIA zászlója
Tbilisi, Georgia
5,0
2
Fizetési mód hitelesítve
Tagság kezdete: febr. 1, 2018

Ügyfél-hitelesítés

Köszönjük! E-mailben elküldtük a linket, melyen átveheti ajándék egyenlegét.
E-mailje elküldése során valami hiba történt. Kérjük, próbálja újra.
Regisztrált Felhasználók Összes Közzétett Munka
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Előnézet betöltése
Hozzáférést adott a helymeghatározáshoz.
Belépési munkamenete lejárt, és kijelentkeztettük. Kérjük, lépjen be újra.