Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1007411
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:36:49+00:00 2026-05-16T08:36:49+00:00

In functions php, this works like a charm: <textarea name=menu1anchor id=menu1anchor cols=40 rows=1><?php echo

  • 0

In functions php, this works like a charm:

<textarea name="menu1anchor" id="menu1anchor" cols="40" rows="1"><?php echo get_option('menu1anchor'); ?></textarea>

How can i make this drop down list work? I want to be able to input my values and select a desired one later on.

Right now, it does not matter which value I select, after i press “save changes” it does not send my value thru the form to wordpress options.

<select name="menu1" id="menu1">
     <option value="1">Microsoft</option>
     <option value="2">Google</option>
     <option value="3">Apple</option>
     </select>

Thank u!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T08:36:49+00:00Added an answer on May 16, 2026 at 8:36 am
    <select name="menu1" id="menu1">
         <option value="1"<?php selected(get_option('menu1'),1); ?>>Microsoft</option>
         <option value="2"<?php selected(get_option('menu1'),2); ?>>Google</option>
         <option value="3"<?php selected(get_option('menu1'),3); ?>>Apple</option>
         </select>
    

    Try that instead.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This example is from php.net: <?php function Test() { static $a = 0; echo
I have this little function function makewindows(){ child1 = window.open (about:blank); child1.document.write(<?php echo htmlspecialchars(json_encode($row2['ARTICLE_DESC']),
So what I'm looking for here is something like PHP's print_r function. This is
How can I find any unused functions in a PHP project? Are there features
I have a contact form on my website, and everything works like a charm.
I'm getting this problem: PHP Warning: mail() [function.mail]: SMTP server response: 550 5.7.1 Unable
I have a JavaScript function, pop_item . I have to call this from PHP,
This question is simple. What function would I use in a PHP script to
i need help with disk_total_space function.. i have this on my code <?php $sql=select
Are there any classes/functions written in php publicly available that will take a timestamp,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.