Answer the question
In order to leave comments, you need to log in
How to bypass intrusive Youtube ads? ad blockers don't help. You need to switch to a paid plan to stop ads. What can be done?
How to bypass intrusive Youtube ads? ad blockers don't help. You need to switch to a paid plan to stop ads. What can I do? But I do not want to switch to a paid plan. Is there a way to bypass the ads?
Answer the question
In order to leave comments, you need to log in
Create another php page and the first one will have
<?php
//СТРАНИЦА1
$connect = mysql_connect(localhost, =======, '=======');
$select_db = mysql_select_db('=======');
$select = mysql_query("SELECT * FROM "tabla" WHERE "kol_vo" <> 0 ORDER BY RAND() LIMIT 1");
while ($result = mysql_fetch_array($select)) {
echo "
Сначала ОБЯЗАТЕЛЬНО ознакомьтесь с сайтом: <a href = 'http://" . $result['zak'] . "' target= _blank><br>ОЗНАКОМИТЬСЯ</a><br><br>
Далее разместите отзыв тут: <a href = 'http://" . $result['url_otz'] . "' target= _blank><br>РАЗМЕСТИТЬ ОТЗЫВ</a><br><br>
Кол-во: $result[kol_vo] <br>
<form action='СТРАНИЦА2' method='post'>
<input type='hidden' name='id' value='{$result['id']}'>
<button>Кнопка</button>
</form>
";
}
?>
<?php
//СТРАНИЦА2
$sql = "UPDATE tabla SET kol_vo = kol_vo - 1 WHERE id = {$_POST['id']}";
$query = mysql_query($sql);
if (!$query) {
die('updating error' . mysql_error());
}
header('Location: http://localhost/СТРАНИЦА1 ');
What browser? If Chrome then use this extension. https://chrome.google.com/webstore/detail/adblock-...
Xs like with advertising on YouTube, but UBlock origin helps me.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question