[PHP-DB] Q regarding recursive function

2001-12-06 Thread Bart Verbeek
Hello, I'm using the following function: BEGIN CODE $q_cat =SELECT cat_id, cat_naam, cat_parent_id FROM cat; $r_cat = mysql_query($q_cat) or die (Invalid Query fout Q=cat); if ($r_cat) $n=0; if (mysql_num_rows($r_cat) 0) while ($row_cat = mysql_fetch_array($r_cat))

[PHP-DB] array-problems

2001-10-24 Thread Bart Verbeek
Hello, Can anyone help me with this script I'm using? I've saved dates in a database and want to make two select-lists of these dates in a html-form. I want to select each unique date one time (no doubles). List 1 is used to set the begin-date of the query for the report, List 2 will set the