$sqlSelect = ("SELECT DISTINCT state FROM ".$view." ORDER BY
state ASC");
$resSelect = mysqli_query($sqlConnect, $sqlSelect);
if (!$resSelect) {
$response = "false";
echo $response;
exit;
This is the section of code to which I am referring. Would anyone care to
venture a guess as to why this is not working in the program?
David
What do you mean by "incorrect results"? Wrong data? Bad return code?
Program blows up?
Did you try to echo $sqlSelect before the request to see if it's what
you think it is?
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstu...@attglobal.net
==================
Precisely *what* incorrect results are returning? What does $view
contain? What does $mysqli->error() return?
--
_ o
|/)
$sqlSelect = ("SELECT DISTINCT state FROM ".$view." ORDER BY
state ASC");
$resSelect = mysqli_query($sqlConnect, $sqlSelect);
if (!$resSelect) {
$response = "false";
echo $response;
exit;
This is the section of code to which I am referring. Would anyone care to
venture a guess as to why this is not working in the program?
David
It's impossible to venture any meaningful guesses until you tell us what
results you expect to get, and what results you actually get instead.
"Incorrect results are returned" is far too vague for any diagnosis.
Did you read any of the responses here so far?