$id=$_REQUEST['id'];
//echo "hello";
$linkid=mysql_connect("localhost", "neuro6", "06DEcembre64") or die("Could not connect");
mysql_select_db("neuro6",$linkid) or die("Could not select database");
$query = "SELECT name, href, rel FROM menu ORDER BY priority ASC";
$query = mysql_query($query,$linkid);
$links1=array();
$links2=array();
while ($row=mysql_fetch_assoc($query)){
$links1[]=$row[name];
$links2[]=$row[href];
$links3[]=$row[rel];
}
$total_links=count($links1);
$query = "SELECT value FROM menu_property";
$query = mysql_query($query,$linkid);
$i=0;
while ($row=mysql_fetch_assoc($query)){
$align[$i]=$row[value];
$i++;
}
?>
;">
| |
for($i=0;$i<$total_links;$i++){
if($i+1==$id){
?>
|
} else { ?>
|
} // else end
} //for end
?>
|