Handling Form Data in PHP


Access data submitted via forms using $_POST and $_GET superglobals.

Source Code

// For POST
$user = $_POST['username'];
// For GET
$page = $_GET['page'];
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments