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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -