Including a function in a form

What is the best method of including an outside function in a text imput? I have a simple states listing function but am having no luck at including it.

State: <input type="text" size="30" maxlength="30" name="states" /> and <? '../functions/states.php?> is what I am trying to include

I know how to call functions, but have never used one in a form. Thanks in advance

Edit: :oops: Please ignore this topic, the answer was in my function all along. I suppose reading ones own work might go a long ways in preventing attacks of stupidty

Sponsor our Newsletter | Privacy Policy | Terms of Service