Jump to content

Notice: Undefined variable: searchq in C:\wamp\www\search2.php on line 17


Chris721

Recommended Posts

I am now getting some data with a error message off Notice: Undefined index: SELECT * FROM applicant WHERE `Firstname` LIKE 'booth' OR `Lastname` LIKE 'booth' in C:\wamp\www\search2.php on line 72.

 

the data is 100% but its getting some

 

It should be

$searchq = $_GET['search'];

Not

$searchq = $_GET["$sql"];
Link to comment
Share on other sites

Archived

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.