Wednesday, August 22, 2012

How to handel postback event in php

Method 1.

if (!isset($_POST)) {
    
//code here


Method2.

if ($_SERVER['REQUEST_METHOD'] == 'POST') {
  
// handle POST here

No comments: