Jump to content

Php question


Jason

Recommended Posts

Whats the best way of saving a user value, entered into a textbox - to a string. For example, the user of phpvms, enters their va name into a textbox, which then translates into <? php echo SITE_URL ?>. I want to do something like that. Please help! Thanks

Link to comment
Share on other sites

Whats the best way of saving a user value, entered into a textbox - to a string. For example, the user of phpvms, enters their va name into a textbox, which then translates into <? php echo SITE_URL ?>. I want to do something like that. Please help! Thanks

Why would you want it to translate? use simple html...

<form method="post" action="">
<textarea name="blah blah blah" cols="40" rows="5">
phpvms rules!
</textarea><br>
<input type="submit" value="Submit" />
</form>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...