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! Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.