When you chrome developers,debug, you find that the variable has a value, but it shows undefined?.

the following problems were found during debug in the chrome devtools developer"s tool;
Why did the console show that undefined;
128lines have all been taken from the values of result,cityId, but you can see that there are values inside params

clipboard.png

chrome browser version: version 66.0.3359.139 (official version) (64-bit)

Mar.10,2021

your screenshot code has not yet been executed to assign a value to {cityId,userId,username}

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea441f-1cc1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea441f-1cc1.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?