Jump to content

Basic Code Help - Variable Contents Checking


Recommended Posts

Hi All,


I'm having a major mind blank, and can't find anything in the previous posts resolving what I'm after.


I'm setting


$searchtext = $_POST['searchtext'];


I want to check $seachtext is not null.


I've seen isset($searchtext) but it doesn't solve my problem.


Basiclaly; I want an if statement to say if(isset($searchtext)) {......}



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.