Search
 
SCRIPT & CODE EXAMPLE
 

PHP

how to get value of textarea in php

//You use it the same way you would with other $_POST[''] or $_GET[''} Elements
//Give it an ID/Name and then echo $_POST['whateveryounamedit'] / $_GET['whateveryounamedit']; 

<form action="" method="post">
<label>Additional Comments:</label><br>
<textarea cols="35" rows="12" name="whateveryounamedit" id="whateveryounamedit">
<php echo $comments; ?>
</textarea><br>
<input type="submit" name="button" value="Submit"/></form>

<?php

$somevariable= $_POST['whateveryounamedit'];
echo($somevariable);
?>
Comment

PREVIOUS NEXT
Code Example
Php :: php max value in associative array 
Php :: convert dd/mm/yyyy to yyyy-mm-dd in mysql php 
Php :: storePublicly laravel with name 
Php :: laravel generate unique token 
Php :: php is scan dir recursive? 
Php :: serialize() php 
Php :: new line php 
Php :: Get date without time in laravel 
Php :: how to make a model in folder in laravel 
Php :: how to trim white space array in php 
Php :: carbon date minus days 
Php :: laravel auth ui command 
Php :: laravel get url without domain in blade 
Php :: order number generate laravel 
Php :: php iterate array keys 
Php :: Install the php_mysql extensions 
Php :: get key of value array php 
Php :: remove space from start and end of string in php 
Php :: factorial program in php using recursive function 
Php :: install phpmyadmin linux 
Php :: laravel display error message 
Php :: date format in laravel month name day name 
Php :: laravel check if table has column 
Php :: cache clear in laravel 
Php :: format time laravel 
Php :: browser detection php 
Php :: laravel Filesystem chmod(): Operation not permitted 
Php :: laravel curl request 
Php :: php artisan vendor:publish 
Php :: assign php array into javascript 
ADD CONTENT
Topic
Content
Source link
Name
3+8 =