Re: Failing to assign query results
Sorry, I misinformed you earlier, mysqli_fetch_assoc() is a valid function and your code is in order (to the best of my knowledge)
Things I think you may have to try out
1. verify and be sure that your SQL query is a good one -
a. that the variables used for the query (eg $airport) are not empty
b. that the array keys (latitude_deg) you are calling are valid columns in the table
2. remember you are dealing with an array result here so look for where you may not have used 'foreach' to extract the array content
Subject
Written By
Posted
Re: Failing to assign query results
October 12, 2015 05:53PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.