what does this do:
if ($currentname != $row[\"name\"]) {
$currentname = $row[\"name\"];
echo \"<p><b>» <?echo $name?></b></p>\n\n\"; }
?
I ask this as im trying to create a query like \"if $row[\"name\"] is different to all other records then display it, if its not different and the $row[\"name\"] is already displayed elsewhere, display the record without the $row[\"name\"] below the $row[\"name\"] that is already there.\"
In other words...
$row[\"name1\"]
info one
info two
That is how I want to display it.. but if there is a record with a unique name then..
$row[\"name1\"]
info one
$row[\"name2\"]
info two
If im making any sense at all please help!
The columns are :
$id=$row[\"id\"];
$name=$row[\"name\"];
$date=$row[\"date\"];
$description=$row[\"description\"];
$link=$row[\"link\"];
$inout=$row[\"inout\"];