mysqli missing a row in php -


i running query against database mysqli seems missing row. below code, can please advise:

conn = new mysqli($server,$source,$user,$password); mysqli_set_charset($conn); $result = $conn->query("select this,that my_table"); while($data = $result>fetch_assoc()) {     /// stuff } 

thanks in advance!

you miss '-' in while condition

 $data = $result->fetch_assoc() 

Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -