Friday 27 February 2015

Undefined Index problem in PHP


this problem comes when you do not declare  name
so overcome this use following code:


$mobile=isset($_POST['mobile']) ? $_POST['mobile'] : 'Null';

No comments:

Post a Comment