title: HTML/PHP - default input value
body: <p>I have a post php form and a set of inputs:</p>
  
  <ol>
  <li>Your Name</li>
  <li>Your Last Name</li>
  <li>My Name</li>
  </ol>
  
  <p>Every input looks the same, only the names change:</p>
  
  <pre><code>&lt;input type="text" name="your_name" value="&lt;?php echo get_option('your_name'); ?&gt;" /&gt;
  </code></pre>
  
  <p>How to set default values when value= is not available?</p>
  
  <p>[edit]</p>
  
  <p>Ok, so, normally I'd do something like:</p>
  
  <pre><code>&lt;input type="text" name="your_name" value="Mike" /&gt;
  </code></pre>
  
  <p>But in this case I have a PHP script that grabs inputs data and displays it using <code>value="&lt;?php echo get_option('your_name'); ?&gt;"</code> . So I have no idea how to force my form to display "Mike" in my input.</p>