php - Data retrieval Issue -


i haven't found common sense way retrieve value column has space in it. example medal of honor column name , value number 0-15. yet moment write

if($medal of honor >= 1) { 

the $medal read value , not $medal of honor duh right

i tried add [] {} '' "" possible around variable no success

any great.

try fetch_assoc column names white space keep array keys. may access them $row['medal of honor'] .


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

dns - Dokku server hosts two sites with TLD's, both domains are landing on only one app -

Delphi 7 and decode UTF-8 base64 -