Em Andamento

Fix PHP Script

I posted a job few month ago:

*Hi,* *

*

*i need an php regex function parsing the news data of this website:*

*

*

*[url removed, login to view]

*

*

*

*that contains dates of news for the next 7 days. i am only interested in the red emphasized news.*

*

*

*i need an function which i give the html content of that website. i will get back an array with following information of each news:*

*

*

*- datetime*

*- url*

*- name*

*- id (you can get the id from the news url)*

*

*

*datetime is not only the time, it is including the year, month and day as well! so you need to read the date as well to create a datetime (yyyy-mm-dd hour:min:sec). as there are no seconds you should set the seconds to 00*

*

*

*that array should only return the red emphasized news.*

*

*

*thats all.*

The solution by the coder was working fine! But now it does not work anymore. I think the site, where the script read the information changed little bit.

You will find my script in the attachment. Your job is to fix it. I comment out the MySQL Code. It is okay, when the echo $sql; works fine. Just look at this file.

Habilidades: Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software, Hospedagem Web, Gestão de Site , Teste de Website

Ver mais: sql get hour datetime, regex is, look php, hour ago, get yyyy date sql, get html code url, find php website, find job html coder, php create function, php regex, fix php, fix script, php file array, php regex html, php hour min, sql create script, php script sql, engineering year, php html parsing, html regex, regex php, datetime, script read, html parsing php, php script function

Acerca do Empregador:
( 20 comentários ) Germany

ID do Projeto: #3051027

Premiar a:

ubunto

See private message.

$3 USD em 2 dias
(71 Avaliações)
4.9