Jump to content

Multiline textbox


czukoman20

Recommended Posts

ok all i have is a basic form  here is the code for my textbox.

 

<form id="form1" name="form1" method="post" action="<?php $_SERVER['PHP_SELF'] ?>">
  <p>
    <textarea name="textarea" id="textarea" cols="45" rows="5">This is the default text..... change it and hit submit</textarea>
</p>
  <p>
    <input type="submit" name="button" id="button" value="Submit" />
</p>
</form>

Link to comment
https://forums.phpfreaks.com/topic/86232-multiline-textbox/#findComment-440473
Share on other sites

ok all i have is a basic form  here is the code for my textbox.

 

<form id="form1" name="form1" method="post" action="<?php $_SERVER['PHP_SELF'] ?>">
  <p>
    <textarea name="textarea" id="textarea" cols="45" rows="5">This is the default text..... change it and hit submit</textarea>
</p>
  <p>
    <input type="submit" name="button" id="button" value="Submit" />
</p>
</form>

 

Hi,

 

will you change your action tag to action="<?php echo $_SERVER['PHP_SELF']; ?>" and try becos i tried your code and could see the output.

 

 

Regards

 

 

Link to comment
https://forums.phpfreaks.com/topic/86232-multiline-textbox/#findComment-440605
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.