Answer the question
In order to leave comments, you need to log in
Where is the error in the code or in the request?
you need to display a list of those who received varn through the bot in a conversation. created a vk_id column, it is in the warns table. I don't understand what's wrong
if($cmd == "варнлист"){
if($vk->isAdmin($peer_id, $id)){
$result = mysql_query("SELECT `vk_id` FROM `warns`");
$myrow = mysql_fetch_array($result);
$vk->sendMessage($peer_id, "ID заварненных:{$myrow}['vk_id']");
}
}
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