Answer the question
In order to leave comments, you need to log in
Why vk API execute swears at "\r\n" and "\n"?
implode("\n", $str_array)
$result = 'return API.messages.send({"user_id": "' . $what . '", "message": "' . $str_array . '"});';
$data = $vk->api("execute", array('code' => $code));
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question