been a long time since I've been here... no time with school/work
anyway! I'm trying to do something really simple and it's just killing me....
<?
$new_portal = "http://www.toyotaklub.dk/portal/";
$new_links1 = array('index.php',
'forum.php',
'e107_plugins/coppermine_menu/',
'e107_plugins/echat_menu/echat.php',
'user.php',
'e107_plugins/ecalendar_menu/event_view.php',
'links.php',
'kontakt.php');
$new_links2 = array('Startside',
'Forum',
'Billeder',
'Chat',
'Medlemmer',
'Kalender',
'Links',
'Klubben');
$new_linksnum = count($new_links1);
// Here we're going to add the actual links!
$new_counter=0;
while($new_linksnum > 1) {
$new_counter++;
echo" <a style='text-decoration:none' href='".$new_links1['$new_counter']."' >".$new_links2['$new_counter']."</a> :";
}
?>
now, I've tried instead to just echo the $new_counter variable and it keeps going and going, never stops...
Now, it hink a while statement is incorrect, so I tried a for, a do-while and a foreach, but none of htem worked correctly...
i'd appreciate any input 🙂