Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

how to keep some value on input field

//set the value
//if the method you use is GET
<input type="text" value="<?php echo htmlspecialchars($_GET['identifier']); ?>" name="identifier" />

//if the method you use is POST
<input type="text" value="<?php echo htmlspecialchars($_POST['identifier']); ?>" name="identifier" />
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #input #field
ADD COMMENT
Topic
Name
2+9 =