gerjan
Ik maak een website waar ik nieuws op wil tonen.
Er bestaan RSS Feeds voor maar ik wil zelf bepalen wel nieuws wel en niet.
D.m.v een database sla ik de link titel tijd datum en headlines (dikgedrukte van Nu.nl) op.
Nu heb ik al een groot gedeelte.
Het toevoegen en verwijderen lukt hartstikke goed.
Alleen het probleem zit in het aanpassen.
De aanpas pagina is hetzelfde als de voegtoe pagina alleen dan staat er al content in.
De volgende query geeft een error:
[code]$sql_update = "UPDATE nieuws SET datumtijd = '".$datumtijd."' link = '".$link."' titel = '".$titel."' headlines = '".$headlines."' WHERE id=". $_GET['id'];[/code]
Het zal wel om een dom foutje gaan maar ik kan niks vinden.
Het zou gaan om het stukje bij de link.
Alvast bedankt
21 augustus 2007 17:39