KFredje Posted September 27, 2009 Share Posted September 27, 2009 Hi, I'm looking for a script where I can add in td's in a table. For example take this code: <table class="LogboekTabel"> <tr><td class="LogboekDate">Datum</td><td class="LogboekTijd">Tijd</td><td class="LogboekOmschrijving">Omschrijving</td></tr> <tr><td class="datlog2">11-07-2009</td><td class="tijdlog2">3 uur</td><td>Bezoek opening Evolis</td></tr> <tr><td class="datlog2">13-07-2009</td><td class="tijdlog2">6 uur</td><td>Site V1.0 Online</td></tr> <tr><td class="datlog2">19-07-2009</td><td class="tijdlog2">4 uur</td><td>Site V1.1 Online</td></tr> <tr><td class="datlog2">20-07-2009</td><td class="tijdlog2">1 uur</td><td>Nieuwe klok toegevoegd</td></tr> <tr><td class="datlog2">06-08-2009</td><td class="tijdlog2">30 minuten</td><td>Layout default.css herschreven</td></tr> <tr><td class="datlog2">30-08-2009</td><td class="tijdlog2">30 minuten</td><td>Profiel foto's toegevoegd</td></tr> <tr><td class="datlog2">01-09-2009</td><td class="tijdlog2">1 uur</td><td>Startformulier ingevuld + informatie en contacten gezocht</td></tr> <tr><td class="datlog2">03-09-2009</td><td class="tijdlog2">100 minuten</td><td>Informatie en contacten gezocht</td></tr> <tr><td class="datlog2">04-09-2009</td><td class="tijdlog2">15 minuten</td><td>Site V1.2 Online</td></tr> <tr><td class="datlog2">05-09-2009</td><td class="tijdlog2">5 uur</td><td>Site V1.3 Online<br>Informatie verzamelen + boeken zoeken</td></tr> <tr><td class="datlog2">06-09-2009</td><td class="tijdlog2">2 uur</td><td>Site V1.4 Online</td></tr> <tr><td class="datlog2">07-09-2009</td><td class="tijdlog2">1 uur</td><td>Site V1.5 Online</td></tr> <tr><td class="datlog2">08-09-2009</td><td class="tijdlog2">1 uur</td><td>Site V1.6 Online (BE)</td></tr> <tr><td class="datlog2">09-09-2009</td><td class="tijdlog2">3 uur</td><td>Bib + inhoudstabel maken + contacten gezocht</td></tr> <tr><td class="datlog2">09-09-2009<br>10-09-2009</td><td class="tijdlog2">8 uur</td><td>Site V2.0 Online (BE)</td></tr> <tr><td class="datlog2">10-09-2009<br>-<br>17-09-2009</td><td class="tijdlog2">10 uur</td><td>Site V2.2 Online: vertaling Engels, Frans + Gastenboek toegevoegd</td></tr> <tr><td class="datlog2">11-09-2009</td><td class="tijdlog2">1 uur</td><td>Getelefoneerd naar aantal bedrijven + Technische informatie</td></tr> <tr><td class="datlog2">16-09-2009</td><td class="tijdlog2">3 uur</td><td>Informatie zoeken<br>Windmolenbezoek zelfgebouwde windmolen<br>Telefoneren voor afspraken</td></tr> </table> I would like to have or make a script in php which can automatically add or delete lines in the file where the above is in. So I have to type in the date, time and description and then add it to the file: <tr><td class="datlog2">16-09-2009</td><td class="tijdlog2">3 uur</td><td>Informatie zoeken<br>Windmolenbezoek zelfgebouwde windmolen<br>Telefoneren voor afspraken</td></tr> (sorry for dutch language in the codes) can it be easily done? greetings Quote Link to comment Share on other sites More sharing options...
9three Posted September 27, 2009 Share Posted September 27, 2009 You can submit the information to a database and pull the information in a loop, and within the loop you can create your table. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.