Jump to content

ashraf5000

New Members
  • Posts

    2
  • Joined

  • Last visited

ashraf5000's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. thanks for your replay i need delete all text else text between \ r \ xxxxxxxx \ r \ in this case nOK i need feed back nOK or nERROR i think we can use explode but i'am new in php and don't how do it
  2. Hello, I am new to the php community I have a problem with feedback code from api I want to put a part in a variable How is that ? please help {"code": 0, "reason": "OK", "resp": "AT + CCFC = 1,3, \" 92061460 \ "\ r \ nOK \ r \ n"} I want to put between \ r \ Variable \ r \ In this case is == nOK some time {"code":0, "reason":"OK", "resp":"AT+CCFC=1,3,\" 92061460\"\r\nERROR\r\n"} in this case = nERROR need echo $varible i hope get your support
×
×
  • 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.