When I execute the file: C:\xampp\htdocs\GroundSettlements/index.php
by entering: http://localhost/GroundSettlements/ in my browser,
the output from php "echo" commands appear in the window, but the
corresponding MySQL output appears to be going elsewhere. In particular,
the code fragment:
- Code: Select all
$query="SELECT * FROM ground_unadjusted_gross";
$result=mysqli_query($cxn,$query)
or die ("failed to SELECT");
if ($result) echo "<p>SELECT was successful</p>";
produces the line:
SELECT was successful
(I have independently determined that the table called ground_unadjusted_gross is non-empty)
question #1: Where is my MySQL output going ?
question #2: How can I redirect it to the browser window I'm working in ?