Quote:
Originally posted by aLuCaRD
How do I undo this query..?
|
Code:
<?php
error_reporting(7);
require('./global.php');
cpheader('Run a Query');
$doquery="ALTER TABLE `fragblast`.`user` ADD `avatar2` TEXT NOT NULL";
$DB_site->query($doquery);
echo 'Query successful.<br><font face="Courier New" size="1">' . $doquery . '</font>';
cpfooter();
?>
save it to a file, called runquery.php, upload it to your /admin folder and run it.
any hacker should include this type of extra hack to make everyone's life easy.
some of us will never install phpmyadmin (i dont) just to run little queries like that, when they can be done with vBulletin.