Jump to content

Очистка таблицы core_log через php

Featured Replies

Привет, подскажите, где косяк?

<?php

$link = mysql_connect('localhost', 'baza', 'parol');

$rv = mysql_select_db('baza', $link);

$sql = "TRUNCATE TABLE `core_log`";

mysql_query($sql);

?>

Edited by AlphaStar

Link to comment
https://ipbmafia.ru/topic/23912-ochistka-tablicy-core_log-cherez-php/
Share on other sites

$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.


Guest
Ответить в этой теме...

Последние посетители 0

  • No registered users viewing this page.