php- changing text box's to already known values
<p>hey guys I have a chunk of code here that takes three values and creates sub domains based off of the entries.  i was wondering how i could take the idea of this form and modify it.  specifically what i am trying to do is put in php variables where the text entry box's are.  can any expert reply and tell me how this could be done?</p>

<pre><code>&lt;form method="post" action="&lt;?php echo network_admin_url('site-new.php?action=add-site'); ?&gt;"&gt;
&lt;?php wp_nonce_field( 'add-blog', '_wpnonce_add-blog' ) ?&gt;
    &lt;table class="form-table"&gt;
        &lt;tr class="form-field form-required"&gt;
            &lt;th scope="row"&gt;&lt;?php _e( 'Site Address' ) ?&gt;&lt;/th&gt;
            &lt;td&gt;
            &lt;?php if ( is_subdomain_install() ) { ?&gt;
                &lt;input name="blog[domain]" type="text" class="regular-text" title="&lt;?php _e( 'Domain' ) ?&gt;"/&gt;.&lt;?php echo preg_replace( '|^www\.|', '', $current_site-&gt;domain );?&gt;
            &lt;?php } else {
                echo $current_site-&gt;domain . $current_site-&gt;path ?&gt;&lt;input name="blog[domain]" class="regular-text" type="text" title="&lt;?php _e( 'Domain' ) ?&gt;"/&gt;
            &lt;?php }
            echo '&lt;p&gt;' . __( 'Only the characters a-z and 0-9 recommended.' ) . '&lt;/p&gt;';
            ?&gt;
            &lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr class="form-field form-required"&gt;
            &lt;th scope="row"&gt;&lt;?php _e( 'Site Title' ) ?&gt;&lt;/th&gt;
            &lt;td&gt;&lt;input name="blog[title]" type="text" class="regular-text" title="&lt;?php _e( 'Title' ) ?&gt;"/&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr class="form-field form-required"&gt;
            &lt;th scope="row"&gt;&lt;?php _e( 'Admin Email' ) ?&gt;&lt;/th&gt;
            &lt;td&gt;&lt;input name="blog[email]" type="text" class="regular-text" title="&lt;?php _e( 'Email' ) ?&gt;"/&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr class="form-field"&gt;
            &lt;td colspan="2"&gt;&lt;?php _e( 'A new user will be created if the above email address is not in the database.' ) ?&gt;&lt;br /&gt;&lt;?php _e( 'The username and password will be mailed to this email address.' ) ?&gt;&lt;/td&gt;
        &lt;/tr&gt;
    &lt;/table&gt;
    &lt;?php submit_button( __('Add Site'), 'primary', 'add-site' ); ?&gt;
</code></pre>

<p></p>
