Re: [PHP] Customize link

2011-05-05 Thread Jim Lucas
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

Re: [PHP] Customize link

2011-05-05 Thread Michael Simiyu
Dan, thanks for the reply.this is the code that shows/lists the categories $cats = $download_taxonomies- >get_parent_cats(); if (!empty($cats)) {

RE: [PHP] Customize link

2011-05-05 Thread admin
though Richard L. Buskirk -Original Message- From: Michael Simiyu [mailto:simiyu.mich...@gmail.com] Sent: Thursday, May 05, 2011 6:10 PM To: php-general@lists.php.net Subject: [PHP] Customize link Hello, Here is the scenario I have a form with the folloing fields i. Title ii. Cat

Re: [PHP] Customize link

2011-05-05 Thread Daniel Brown
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

[PHP] Customize link

2011-05-05 Thread Michael Simiyu
Hello, Here is the scenario I have a form with the folloing fields i. Title ii. Category (This is a drop down with a list of categories which have id's - am using wordpress ) iii. upload file field now what i want to do is to be able to customize a link like http://www.mysite.com/ad