Hiya All
I have a page that basically provides links to downloads grouped by the file's client name (company name). Now each section on the page has a named anchor that's populated with that client's name
echo '<h3><a name="'.$nameOf['company'].'"></a>'.$nameOf['company'].'</h3>';
Now, I'm trying to create a jump menu that will uhhh jump...to each anchor when selected.
The code I've been trying to use is:
$anchor_qry = "select code, company from clients c, project_mgr_permissions mp
where c.code = mp.client and mp.username = '{$_SESSION['auth_user']}'";
$anchor_result = $handle->query($anchor_qry);
while ($anchor = $anchor_result->fetch_assoc())
{
?>
<form name="jump1">
<select name="jump" onChange="MM_jumpMenu('parent',this,0)">
<?php echo "<option value=index.php#".$anchor.">".$anchor."</option>"; ?>
</select></form>
<?php
}
The problem is, my results end up showing as five separate drop down boxes (there's only 5 client names entered in the dbase for testing) with the word "Array" in it.
Any help definitely appreciated.