I just wrote the biggest, most complicated database query php/mysql script in my carreer. The most important snippet is here:
mysql_select_db("lrc_lrc", $db);
$sql2 = "SELECT * FROM Categorie";
$resultaat2 = mysql_query($sql2);
while ($categorieen = mysql_fetch_array($resultaat2)) {
echo "".$categorieen['CATEGORIE_ID']."
\n\n
(
Read more... )