virtuexru Posted July 20, 2009 Share Posted July 20, 2009 Trying to echo out a variable like: $SelOffersQryRow->spid Now, same DB but the column name has a space in it, how am I supposed to properly echo it out? $SelOffersQryRow->Model Detail am I supposed to use `` or '' or "" Thanks! Link to comment https://forums.phpfreaks.com/topic/166631-solved-stupid-question/ Share on other sites More sharing options...
rhodesa Posted July 20, 2009 Share Posted July 20, 2009 try this: $SelOffersQryRow->{'Model Detail'} edit: But, you should get in the habit of not putting spaces in column names. i tend to only use lowercase letters and underscores Link to comment https://forums.phpfreaks.com/topic/166631-solved-stupid-question/#findComment-878652 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.