I have created a form that will be used to query a MySQL db. Some items on the form may be left blank. Let's say ALL items are left blank, I would want it to return ALL records from the database.
If you wanted to narrow your search, you would then enter info in various fields on the form.
Here's what I tried to do, but it doesn't work
if ($reviewer == NULL) {
$reviewer = "*";
}
If the above makes no sense, I can try to explain in more detail.
If you wanted to narrow your search, you would then enter info in various fields on the form.
Here's what I tried to do, but it doesn't work
if ($reviewer == NULL) {
$reviewer = "*";
}
If the above makes no sense, I can try to explain in more detail.