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
23 декабря, 20212 yr comment_176017 $link = new mysqli('localhost', 'baza', 'parol', 'baza'); $sql = "TRUNCATE TABLE `core_log`"; $link->query($sql);
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.