Jump to content

xamlit

New Members
  • Posts

    2
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

xamlit's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Thanks to a great coworker I solved the problem. I referenced the value that had white space by using the following code: $sub = $sub["Zip Code"]; Note the double quotes and square brackets. Thank you all who have taken the time to help me.
  2. Hello All: I am trying to access a value within an object. The value name has whitespace in it and is called "zip code". When I try to access the value via regular object call such as: $sub = $sub->zip code; PHP goes crazy on me. I've tried to encapsulate the value name within a variable like this: $zip_code = "Zip Code"; $sub = $sub->zip_code; and that doesn't work either. Does anyone have any ideas about how I should go about yanking the data out?
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.