[PHP] Question about using JSON_ENCODE()

2010-01-08 Thread Anthony Papillion
I'm developing a basic webservice to compliment a mobile application I'm developing or iPhone. While I know how to encode simple variables and arrays, I'm not sure how to do what I'm needing to do. Basically, I want to encode a status message to return to the mobile client. Something like

Re: [PHP] Question about using JSON_ENCODE()

2010-01-08 Thread Anthony Papillion
($result); your client will get a string '{status: good}' and you use your client tech(eg. javascrpt) to decode this string and finall get an object On Fri, Jan 8, 2010 at 3:43 PM, Anthony Papillion papill...@gmail.comwrote: I'm developing a basic webservice to compliment a mobile application

[PHP] Need help with RegEx

2006-12-11 Thread Anthony Papillion
Hello Everyone, I am having a bit of problems wrapping my head around regular expressions. I thought I had a good grip on them but, for some reason, the expression I've created below simply doesn't work! Basically, I need to retreive all of the text between two unique and specific tags but I