Posted 23 декабря, 20212 yr comment_176014 Привет, подскажите, где косяк? <?php $link = mysql_connect('localhost', 'baza', 'parol'); $rv = mysql_select_db('baza', $link); $sql = "TRUNCATE TABLE `core_log`"; mysql_query($sql); ?> Edited 23 декабря, 20212 yr by AlphaStar Link to comment https://ipbmafia.ru/topic/23912-ochistka-tablicy-core_log-cherez-php/ Share on other sites Больше вариантов
23 декабря, 20212 yr comment_176017 $link = new mysqli('localhost', 'baza', 'parol', 'baza'); $sql = "TRUNCATE TABLE `core_log`"; $link->query($sql); Link to comment https://ipbmafia.ru/topic/23912-ochistka-tablicy-core_log-cherez-php/?&do=findComment&comment=176017 Share on other sites Больше вариантов
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.