[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

Re: [PHP] Customize link

2011-05-05 Thread Daniel Brown
On Thu, May 5, 2011 at 18:10, Michael Simiyu simiyu.mich...@gmail.com 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 $cat_ids = array(1,3,5,7,13,15,24,36,81,92); echo 'select name=categories'.PHP_EOL; foreach

RE: [PHP] Customize link

2011-05-05 Thread admin
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. 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

Re: [PHP] Customize link

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

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 one