On 5/5/2011 3:38 PM, Michael Simiyu wrote:
> Dan,
>
> thanks for the reply.this is the code that shows/lists the categories
>
you need to make the following check look at $_GET instead of $_POST. Or, I
hate to suggest it, you can use $_REQUEST. It includes $_GET, $_POST, and
others all in
Dan,
thanks for the reply.this is the code that shows/lists the
categories
$cats = $download_taxonomies-
>get_parent_cats();
if (!empty($cats)) {
If your options are dynamically created you could check the value passed
against each option are mark the match with "SELECTED";
Example Static:
Echo "5".PHP_EOL;
Example Dynamic
for($a=1, $a <= 15; $a++)
{
Echo " ".$a."".PHP_EOL;
}
Just a though
Richard L. Buskirk
-Original Message
On Thu, May 5, 2011 at 18:10, Michael Simiyu wrote:
>
> So i guess my question is how to configure a meu item in a drop down to be
> automatically selected in a link...
'.PHP_EOL;
foreach ($cat_ids as $cid) {
echo ' '.$cid.''.PHP_EOL;
}
echo ''.PHP_EOL;
?>
--
Network Infrastructure Manag
4 matches
Mail list logo