Advertisement
icharge

POST DATA PHP

Nov 15th, 2014
181
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.19 KB | None | 0 0
  1. <?php
  2.    
  3.     // Input from POST
  4.     $txtsearch = (isset($_POST['txtsearch'])?$_POST['txtsearch']:'');
  5.    
  6.     // or check Input
  7.     $txtsearch = "";
  8.     if ($_POST)
  9.     {
  10.         $txtsearch = $_POST['txtsearch'];
  11.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement