This semester is learning php+mysql+html ... Anyway good miscellaneous.
Today, programming is experiencing two problems.
Question one:
1. Use PHP $_post to receive data from the textarea.
2, because textarea, can not be like other types of input, that is, can not:
<input type= "textarea"/> So the result space is text. Cannot enlarge write area
and only:
<textarea name= "MyText" cols=30 rows=30></textarea> so that the textarea can be recalled.
3, then the problem I met, began to like W3cschool said, add attribute: form= "Form1" Form1 for its owning form
However, I can not use $_post["MyText" on the receiving side. have been unable to accept, error
4, finally, I try to remove the form inside, <textarea> write to the form inside, it succeeded.
Question two:
1, about the automatic emergence of the <div> drop bar problem.
2, when the first layer of <body> under the <div>, if in which the attribute is directly added: Overflow:auto; This is not going to work.
3, I will try to add a <div> under the <div> of this layer, and then add the data I want to save to this layer <div> and then succeed.
Learn about problems with solving PHP and HTML