Help with a very small array problem
| From: | YoBro | Date: | Tue, 27 Feb 2001 23:26:14 +0000 |
| Subject: | Help with a very small array problem | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-41892@lists.php.net to get a copy of this message | ||
Hello,
I have a problem getting this to work right.
I have two variables that store the name of a Link and the actual link.
I am trying to display them on the page but it doesn't do it like i would
have hoped.
I want it to appear like this
[Link1] [Link2] [Link3]
<?
foreach ( $blink as $valink ){ //The link path
echo " [<a href=$valink>";
foreach ($but as $val ){ //The link Text
echo "$val";
}
echo "</a>]";
}
?>
Please help
--
Regards,
YoBro
-------------------------------------------------------------
DO NOT REPLY TO THIS VIA EMAIL
PLEASE USE THE NEWSGROUP
All emails sent to this address are automatically deleted.
This is to avoid SPAM!
-------------------------------------------------------------