[Runtime Error empty-string, The second argument to foreach is not a list.
Hello I confirm the error is concerning this block, and with .json file
can anyone solve it for me? I tried so many ways including amend .php files
so that i also attached it content of .json file here
is it about the .php file version or other things?
the following is another .php file for login to database
.consql.php as follows:<?php $db_host = "localhost"; $db_username = "duser"; $db_password = "abcde"; $db_name = "id15760476_orderdrink"; $db_link = @mysqli_connect($db_host, $db_username, $db_password, $db_name); if (!$db_link) die("unsuccessful！"); ?>