- Readme First! - Read and follow the rules, otherwise your posts will be closed
There are currently, 58 guest(s) and 1 member(s) that are online. You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - trouble with foreach in block [ ]
Author
Message
tony9087
Nuke Cadet
Joined: Sep 16, 2003
Posts: 2
Posted:
Thu Sep 18, 2003 5:59 am
I am stuck, anybody know how I can get this to show in my block. The code breaks when I try to put it in the content line that phpnuke wants.
$content = "
foreach ($catlist_lin as $name) {
echo '<a href="detail.php?category=Items&subcategory=' . urlencode($name) . '&count=' . $count . '">' . $name . '</a><br>';
}";
Tony
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum