what should i do to see the records and be able to pick one of then in order to delete it (from database and textarea)?also it is not a good practice to allow user to delete records through a text box, the possibilities of error will increase. > I want to save textarea contents to a mysql database with the > paragraph breaks intact without having to type paragraph or break tags > in HTML. Create HTML form and set method attribute value as POST. i am new in programming so i ask for your understanding. Pois bem, estou querendo ter a possibilidade de EDITAR esse formulário e … We're a friendly, industry-focused community of then i want to be able to pick one of the records of textarea and delete it (textarea … Make sure your POST data is coming through.From your DB query, i don’t see where you are inserting/updating the DB from the POST data.Double check the names of the username and description fields I have listed on the first 2 lines to make sure they match with your form. > > Jonathan Criei um formulário normal, dentre os campos tenho um textarea que salvo as informações ali contidas em um banco mysql. i had some trouble a few days ago updating a mysql field, i had 2 text fields and 2 textarea fields, both the text fields updated ok through this query:but for some reason the textarea fields don’t seem to update heres the code for 1:is there something different i need to do, from a text field from a textarea field?Where are you grabbing your POST data? The data is then transmitted via POST method to a PHP script:By committing the last SQL query, the bio data entered by the visitor is successfully inserted into the table `authors` as a new record. Connect php with mysqli. and technology enthusiasts learning and sharing knowledge. Want to join in and post some useful articles on Kavoir.com? then i want to be able to pick one of the records of textarea and delete it (textarea and database).
In that post … So, this script will help you to learn PHP insert multiple records into Mysql using TextArea field. To send the textarea text value in any HTML forms to the web server and store it into a MySQL table by PHP, you will need to POST the textarea data to a PHP script and then the PHP script would connect to a MySQL database to put the data into one of the tables by inserting a record or updating one.Now the visitor has finished typing in his text and clicked the submit button. Hi Guys, i had some trouble a few days ago updating a mysql field, i had 2 text fields and 2 textarea fields, both the text fields updated ok through this query: You should use that if possible.i echoed out the information to be updated it was fine, i’m using the latest version of php that comes with wamp, also replaced mysql_real_escape_string in the appropriate places, i don’t really get a ny errors as such i put new data in the fields, press update it then displays the “edited successfully message” but it hasn’t updated anyhting, the text fields update perfectly, it just seems to be when i use a