Answer the question
In order to leave comments, you need to log in
How to pass a wrap to alert in a PHP variable passed by AJAX to JS?
Good day, tell me AJAX that flies back in one line looks like this:
This is not your property ID: 26748 ( Test Testovich test_adm\nThis is not your property ID: 26747 ( Test Testovich test_adm\nThis is not your property ID: 26746 ( Test Testovich test_adm\nThis is not your property ID: 26745 ( Test Testovich test_adm\n
$response[$i++] = 'Это не Ваш объект ID: '.$what_is_id.' ( '.get_the_author_meta('first_name').' '.get_the_author_meta('last_name').' '.get_the_author_meta('user_login').'\n';
implode($response)
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