hent rum og under rum ?
hej hvordan kan jeg få dette kode til at virke...på den måde som ofir har gjordt her.http://chatrr.ofir.dk/
kode:
<?
include(\"config.php3\");
mysql_connect($dbhost, $dbuser, $pass);
mysql_select_db($database);
$hent_rum_topic = mysql_query(\"selct * from table4 order by rum_topic\")
$hent_rum = mysql_query(\"select * from $table3 order by rum where rum=\'$rum_topic\'\");
while ($henter_rum_topic = mysql_fetch_array($hent_rum_topic)) {
print $henter_rum_topic[\"rum_topic\"];
while ($henter_rum_topic = mysql_fetch_array($hent_rum_topic)) {
print $henter_rum[\"rum\"];
}
}
?>
