Title: Array or If/Else Help
Last modified: August 19, 2016

---

# Array or If/Else Help

 *  [mlogos](https://wordpress.org/support/users/mlogos/)
 * (@mlogos)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/array-or-ifelse-help/)
 * Don’t know what to call this problem – here is what I want to do.
 * I want to have some items listed with radio buttons next to them. The user clicks
   on the radio button he chooses and at the bottom of the screen is a button to
   click to take him to the proper page for the item he selected. Need to store 
   a variable for the chosen button, pass it to the ‘click here’ button and on the
   the proper page.
 * I submitted this a few hours ago but someone removed it. If I’m in the wrong 
   forum, please tell me – don’t just remove it. I really do want an answer to this
   question.
 * Thanks…Cathy

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [batrachoid](https://wordpress.org/support/users/batrachoid/)
 * (@batrachoid)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/array-or-ifelse-help/#post-1433884)
 * Wouldn’t it be easier to just have a list of buttons named for your pages? In
   other words, a button named “Page One”, another named “Page Two,” etc.
 * Also, it’s possible that wordpress.org tried to read your previous topic title
   as a command!
 *  Thread Starter [mlogos](https://wordpress.org/support/users/mlogos/)
 * (@mlogos)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/array-or-ifelse-help/#post-1433936)
 * Thanks, betrachoid – didn’t know wp.org would think I was commanding anything!!
   🙂
 * Do you have a hint where I could look to figure out how to name buttons and then
   use them – I thought of and like your idea but didn’t know how to do that either.
 * Thanks…Cathy
 *  [batrachoid](https://wordpress.org/support/users/batrachoid/)
 * (@batrachoid)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/array-or-ifelse-help/#post-1434005)
 * [So, You Want A Link Button, Huh?](http://www.htmlgoodies.com/tutorials/buttons/article.php/3478871)
 *  Thread Starter [mlogos](https://wordpress.org/support/users/mlogos/)
 * (@mlogos)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/array-or-ifelse-help/#post-1434021)
 * I know how to do that. I want to store/pass a variable from 4 or 5 radio buttons
   to the link button and have it go to the specific page I create for the radio
   buttons.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Array or If/Else Help’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 2 participants
 * Last reply from: [mlogos](https://wordpress.org/support/users/mlogos/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/array-or-ifelse-help/#post-1434021)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
