HI you can use formAPI to create a text box (more specifications on api.drupal.org)
your form function will go like this - $form['example_textbox'] = array(
'#title' => t('my first textbox'), '#description' => t(), '#type' = 'textbox', ); $form['MySubmit'] = array( '#type' => submit,
); and in corresponding submit function use $form_state['values']['examle_textbox'] to get text string !!