[php] Hoe maak je een simpele mysql class

Gestart doorBasDev14 reacties120 weergaven

15 berichten · pagina 1 van 1

BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Hoi,
Dit is mijn eerste tut en hierin ga ik, voor diegene die het nog niet kan, uitleggen hoe je een simpele MySQL Static class kan maken.

Om te beginnen gaan we de class aanmaken, we noemen hem maar MySQL.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/Class"]Class[/URL] MySQL[COLOR= #007700]{

}[/COLOR]
?>


Hierna voegen we een variable toe waar de verbinding in blijft zitten.. Dit doe je door een private iets te maken in de class.. De class gaat er dan zo uit zien:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/Class"]Class[/URL] MySQL[COLOR= #007700]{[/COLOR]
   [URL="http://www.php.net/private"]private[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #0000BB]$verbinding[/COLOR][COLOR= #007700];
}[/COLOR]
?>


Nu kunnen we voor zover wel beginnen met functies maken..
Eerst maar eens uitleggen hoe je een functie binnen de class maakt.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/Class"]Class[/URL] Bas[COLOR= #007700]{[/COLOR]
   [URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] Is[COLOR= #007700](){[/COLOR]
      [URL="http://www.php.net/return"]return[/URL] [COLOR= #DD0000]"Uber"[/COLOR][COLOR= #007700];
   }
}[/COLOR]

[COLOR= #FF8000]//Oproepen van de functie[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] Bas[COLOR= #007700]::[/COLOR]Is[COLOR= #007700]();[/COLOR] [COLOR= #FF8000]//Outpunt: Uber[/COLOR]
?>


Terug naar de MySQL class..
Let op, in de code staat alleen de functie die je moet toevoegen aan je class
Laten we maar beginnen met de Init functie om de verbinding te maken.
Bij de init functie moet je je database gegevens meegeven.. Dus je gebruikersnaam, ww, host en db naam.
Deze functie is eigenlijk de belangrijkste functie uit de hele class, want zonder een verbinding kan je geen mysql gegevens ophalen hea.. emo
[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] Init[COLOR= #007700]([/COLOR][URL="http://www.php.net/array"]array[/URL] [COLOR= #0000BB]$data[/COLOR][COLOR= #007700]){[/COLOR]
   [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR]self[COLOR= #007700]:[/COLOR][COLOR= #007700]:[/COLOR][COLOR= #0000BB]$verbinding[/COLOR] [COLOR= #007700]= @[/COLOR][URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ww[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]db[/COLOR][COLOR= #007700]])){[/COLOR]
      [COLOR= #FF8000]//Er is iets mis gegaan tijdens het verbinden..[/COLOR]
     [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());
   }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
      [COLOR= #FF8000]//Er is verbinding! Hier kunnen eventuele kleine build-ins worden gemaakt..[/COLOR]
   [COLOR= #007700]}
}[/COLOR]
?>


Okee, nu de Init functie is gemaakt kunnen we nu verder met de andere functies, zoals Query.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] Query[COLOR= #007700]([/COLOR][COLOR= #0000BB]$str[/COLOR][COLOR= #007700]){[/COLOR]
   [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$str[/COLOR][COLOR= #007700],[/COLOR] self[COLOR= #007700]:[/COLOR][COLOR= #007700]:[/COLOR][COLOR= #0000BB]$verbinding[/COLOR][COLOR= #007700]);[/COLOR]
   [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]()){[/COLOR]
      [COLOR= #FF8000]//Er is iets mis gegaan in de query![/COLOR]
      [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());
   }[/COLOR]
   [URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$query[/COLOR][COLOR= #007700];
}[/COLOR]
?>


Nu kun je al Queries uitvoeren.. maar hoe fetch je ze nu? Dat laat ik hieronder zien.

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] Fetch[COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]){[/COLOR]
   [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]);
}[/COLOR]
?>


Da was simpel hea? smileNu heb je eigenlijk al de belangrijkste functies..
Maar mysql_num_rows is ook wel handig..

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] NumRows[COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]){[/COLOR]
   [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]);
}[/COLOR]
?>


Nahh nu heb je toch echt wel alles wat nodig is..
Uitbreidingen komen wel op het vervolg.. waar ik nu geen zin aan heb emo
Gebruik:

[COLOR= #0000BB]<?php
$data[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/Array"]Array[/URL][COLOR= #007700]([/COLOR][COLOR= #DD0000]host[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]localhost[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]gebruiker[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]Gebruiker[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]ww[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]Wachtwoord[/COLOR][COLOR= #007700],[/COLOR] [COLOR= #DD0000]db[/COLOR] [COLOR= #007700]=>[/COLOR] [COLOR= #DD0000]Database naam[/COLOR][COLOR= #007700]);[/COLOR]
MySQL[COLOR= #007700]::[/COLOR]Init[COLOR= #007700]([/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700]);[/COLOR]

[COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] MySQL[COLOR= #007700]::[/COLOR]Query[COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT username FROM users"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL][COLOR= #DD0000]Er zijn [/COLOR] [COLOR= #007700].[/COLOR] MySQL[COLOR= #007700]::[/COLOR]NumRows[COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000] gebruikers gevonden![/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$fetch[/COLOR] [COLOR= #007700]=[/COLOR] MySQL[COLOR= #007700]:[/COLOR][COLOR= #007700]:[/COLOR]Fetch[COLOR= #007700]([/COLOR][COLOR= #0000BB]$query[/COLOR][COLOR= #007700])){[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #0000BB]$fetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]username[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]<br/>[/COLOR][COLOR= #007700];
}[/COLOR]
?>


Hope you like it emo
- Bas smile
0
Berichten
93.699
Reputatie
0
Punten
1,27
Lid sinds
Laatst gezien
Best nice biggrin
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Je hebt per ongeluk hoofdletter A bij array en ik zou je class database noemen ipv sql zodat het idee erachter niet verloren gaat. Verder niet slecht smile
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kyron schreef:
Je hebt per ongeluk hoofdletter A bij array en ik zou je class database noemen ipv sql zodat het idee erachter niet verloren gaat. Verder niet slecht smile
Ik kon geen andere naam verzinnen en array mag en kan met hoofdletter.
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Waarom variabelen en andere functie´s met korte letters yummie?

Andere naam moet gewoon database zijn ipv mysql dus "ik kon geen andere naam verzinnen" vind ik beetje vaag, wat ik bedoel is, wat heeft dit voor nut om hier een class van te maken als je toch een mysql-gebonden naam pakt.
0
Berichten
20.364
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Nice, class. Maar ik heb een paar vragen:

1. Waarom open je je functie zo: Bas::Is(); i.p.v. Bas->is();.. Wat is het verschil?
2. Wat is static?

Kom je nog met meer clasess?
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Shahiem schreef:
Nice, class. Maar ik heb een paar vragen:

1. Waarom open je je functie zo: Bas::Is(); i.p.v. Bas->is();.. Wat is het verschil?
2. Wat is static?

Kom je nog met meer clasess?
Static is dat je geen $class = new Class(); hoeft te doen..
En dan gebruik je dus: Class:aahunctie();

Binnenkort ga ik nog meer classes maken ja smile
@Kyron: Ik geef hier alleen een voorbeeld hoe je eventueel een mysql class zou kunnen maken, niet een verbeter mijn class tut emo
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Superb schreef:
Eerdere citaten tonen
Shahiem schreef:
Nice, class. Maar ik heb een paar vragen:
1. Waarom open je je functie zo: Bas::Is(); i.p.v. Bas->is();.. Wat is het verschil?
2. Wat is static?

Kom je nog met meer clasess?

Static is dat je geen $class = new Class(); hoeft te doen..
En dan gebruik je dus: Class:aahunctie();

Binnenkort ga ik nog meer classes maken ja smile
@Kyron: Ik geef hier alleen een voorbeeld hoe je eventueel een mysql class zou kunnen maken, niet een verbeter mijn class tut emo
Zelfs als je gevorderd bent in php moet je tips van mensern kunnen aannemen.
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Als ik alle static in public verander, is hij dan gewoon met
$mysql->query?

Edit:

Ben bezig met een class

Codeblok (mysql.class.php):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49


Class MySQL {

private function __contruct($sqlhost, $sqlnaam, $sqlpass, $sqldatabase)
{

if(!$this->verbinding = @mysql_connect($sqlhost, $sqlnaam, $sqlpass, $sqldatabase))
{

die([MYSQL ERROR] .mysql_error());
}

else
{

}
}


public function query($string)
{

$query = mysql_query($string, $this->verbinding);
if(mysql_error())
{

die([MYSQL ERROR] .mysql_error());
}

return $query;
}


public function fetch($string, $methode = assoc)
{

if($methode = assoc)
{

$fetch = mysql_fetch_assoc($string);
}

if($methode = object)
{

$fetch = mysql_fetch_object($string);
}

if($methode = array)
{

$fetch = mysql_fetch_array($string);
}

return $fetch;

}


public function num_rows($string)
{

return mysql_num_rows($string);
}
}

?>
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ja JPonsen als je het met $mysql = new MySQL doet.
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kyron schreef:
Ja JPonsen als je het met $mysql = new MySQL doet.
Foutief.

[COLOR= #0000BB]<?php
$mysql[/COLOR] [COLOR= #007700]= new[/COLOR] MySQL[COLOR= #007700]([/COLOR]HOST[COLOR= #007700],[/COLOR] NAAM[COLOR= #007700],[/COLOR] WW[COLOR= #007700],[/COLOR] DATABASE[COLOR= #007700]);[/COLOR]
?>

wink
0
Berichten
3.788
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Ik raad je aan om even uit te leggen wat private en static precies doen!
Je gebruikt ze allebei, maar legt niks uit, en mss even eindcode erbij posten!

EDIT:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/Class"]Class[/URL] MySQL[COLOR= #007700]{[/COLOR]
   [URL="http://www.php.net/private"]private[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #0000BB]$verbinding[/COLOR][COLOR= #007700];[/COLOR]

   [URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] Init[COLOR= #007700]([/COLOR][URL="http://www.php.net/array"]array[/URL] [COLOR= #0000BB]$data[/COLOR][COLOR= #007700]){[/COLOR]
      [URL="http://www.php.net/if"]if[/URL][COLOR= #007700](![/COLOR]self[COLOR= #007700]:[/COLOR][COLOR= #007700]:[/COLOR][COLOR= #0000BB]$verbinding[/COLOR] [COLOR= #007700]= @[/COLOR][URL="http://www.php.net/mysql_connect"]mysql_connect[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]gebruiker[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]ww[/COLOR][COLOR= #007700]],[/COLOR][COLOR= #0000BB]$data[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]db[/COLOR][COLOR= #007700]])){[/COLOR]
         [COLOR= #FF8000]//Er is iets mis gegaan tijdens het verbinden..[/COLOR]
        [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());
      }[/COLOR] [URL="http://www.php.net/else"]else[/URL] [COLOR= #007700]{[/COLOR]
         [COLOR= #FF8000]//Er is verbinding! Hier kunnen eventuele kleine build-ins worden gemaakt..[/COLOR]
      [COLOR= #007700]}
   }[/COLOR]

   [URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] Query[COLOR= #007700]([/COLOR][COLOR= #0000BB]$str[/COLOR][COLOR= #007700]){[/COLOR]
      [COLOR= #0000BB]$query[/COLOR] [COLOR= #007700]=[/COLOR] [URL="http://www.php.net/mysql_query"]mysql_query[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$str[/COLOR][COLOR= #007700],[/COLOR] self[COLOR= #007700]:[/COLOR][COLOR= #007700]:[/COLOR][COLOR= #0000BB]$verbinding[/COLOR][COLOR= #007700]);[/COLOR]
      [URL="http://www.php.net/if"]if[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]()){[/COLOR]
         [COLOR= #FF8000]//Er is iets mis gegaan in de query![/COLOR]
         [URL="http://www.php.net/die"]die[/URL][COLOR= #007700]([/COLOR][URL="http://www.php.net/mysql_error"]mysql_error[/URL][COLOR= #007700]());
      }[/COLOR]
      [URL="http://www.php.net/return"]return[/URL] [COLOR= #0000BB]$query[/COLOR][COLOR= #007700];
   }[/COLOR]

   [URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] Fetch[COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]){[/COLOR]
      [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/mysql_fetch_assoc"]mysql_fetch_assoc[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]);
   }[/COLOR]

   [URL="http://www.php.net/public"]public[/URL] [URL="http://www.php.net/static"]static[/URL] [COLOR= #007700]function[/COLOR] NumRows[COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]){[/COLOR]
      [URL="http://www.php.net/return"]return[/URL] [URL="http://www.php.net/mysql_num_rows"]mysql_num_rows[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$resource[/COLOR][COLOR= #007700]);
   }
}[/COLOR]
?>
0
Berichten
3.314
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Superb schreef:
Eerdere citaten tonen
Kyron schreef:
Ja JPonsen als je het met $mysql = new MySQL doet.
Foutief.

[COLOR= #0000BB]<?php
$mysql[/COLOR] [COLOR= #007700]= new[/COLOR] MySQL[COLOR= #007700]([/COLOR]HOST[COLOR= #007700],[/COLOR] NAAM[COLOR= #007700],[/COLOR] WW[COLOR= #007700],[/COLOR] DATABASE[COLOR= #007700]);[/COLOR]
?>

wink
Dat snap ik ook wel, het was een voorbeeld. Ik ga hem niet alles voorkauwen.
0
BasDev

Lid · Topicstarter

Berichten
2.692
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
private is dat je het alleen binnen de class zelf kan gebruiken..
static is dat je de class niet eerst hoeft te starten met new Class..
Maar dat je dan gewoon ClassName:aahunction kan doen smile
0
Berichten
6.144
Reputatie
0
Punten
0,00
Lid sinds
Laatst gezien
Kan iemand die van mij misschien testen?
Mijn host ligt er uit

Zo test je m:

[COLOR= #0000BB]<?php[/COLOR]
[URL="http://www.php.net/require_once"]require_once[/URL] [COLOR= #DD0000]mysql.class.php[/COLOR][COLOR= #007700];[/COLOR]

[COLOR= #0000BB]$mysql[/COLOR] [COLOR= #007700]= New[/COLOR] MySQL[COLOR= #007700]([/COLOR][COLOR= #DD0000]host[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]user[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]pass[/COLOR][COLOR= #007700],[/COLOR][COLOR= #DD0000]database[/COLOR][COLOR= #007700]);[/COLOR]
[COLOR= #0000BB]$qQuery[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]query[COLOR= #007700]([/COLOR][COLOR= #DD0000]"SELECT * FROM users"[/COLOR][COLOR= #007700]);[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]Er zijn [/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$mysql[/COLOR][COLOR= #007700]->[/COLOR]num_rows[COLOR= #007700]([/COLOR][COLOR= #0000BB]$qQuery[/COLOR][COLOR= #007700]) .[/COLOR] [COLOR= #DD0000] gebruikers gevonden<br />[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<ul>[/COLOR][COLOR= #007700];[/COLOR]
[URL="http://www.php.net/while"]while[/URL][COLOR= #007700]([/COLOR][COLOR= #0000BB]$qFetch[/COLOR] [COLOR= #007700]=[/COLOR] [COLOR= #0000BB]$myslq[/COLOR][COLOR= #007700]->[/COLOR]fetch[COLOR= #007700]([/COLOR][COLOR= #0000BB]$qQuery[/COLOR][COLOR= #007700])) {[/COLOR]
    [URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]<li>[/COLOR] [COLOR= #007700].[/COLOR] [COLOR= #0000BB]$qFetch[/COLOR][COLOR= #007700][[/COLOR][COLOR= #DD0000]naam[/COLOR][COLOR= #007700]] .[/COLOR] [COLOR= #DD0000]</li>[/COLOR][COLOR= #007700];
}[/COLOR]
[URL="http://www.php.net/echo"]echo[/URL] [COLOR= #DD0000]</ul>[/COLOR][COLOR= #007700];[/COLOR]
?>
0

Jouw reactie

Deel je idee, stel een vraag of help een ander verder.

Editor laden…

Praat mee met de One2xs-community.

Inloggen om te reageren