I'm hoping someone can help me.
I was trying to backup our eqdkp database and managed to remove all the admin access from the admin account :(
I cannot use phpmyadmin or mysql to directly access the database to fix it.
From what I can see the code below should do what I want but it just gives me an error: Parse error: parse error, unexpected T_IF in /home/httpd/dynamic/phantomraiders/eqdkp/admin/tmp.php on line 9
Any help would be very much appreciated.
Thanks.
[PHP]<?php
define('EQDKP_I NC', true);
$eqdkp_root_pat h = '../';
include_once($e qdkp_root_path . 'common.php');
$sql = "UPDATE eqdkp_auth_user s SET auth_setting='Y ' WHERE user_id = '1'"
if (!($return_code = $db->query($sql)) )
{
message_die('Co uld not run that command ', '', __FILE__, __LINE__, $sql);
}
?>[/PHP]
I was trying to backup our eqdkp database and managed to remove all the admin access from the admin account :(
I cannot use phpmyadmin or mysql to directly access the database to fix it.
From what I can see the code below should do what I want but it just gives me an error: Parse error: parse error, unexpected T_IF in /home/httpd/dynamic/phantomraiders/eqdkp/admin/tmp.php on line 9
Any help would be very much appreciated.
Thanks.
[PHP]<?php
define('EQDKP_I NC', true);
$eqdkp_root_pat h = '../';
include_once($e qdkp_root_path . 'common.php');
$sql = "UPDATE eqdkp_auth_user s SET auth_setting='Y ' WHERE user_id = '1'"
if (!($return_code = $db->query($sql)) )
{
message_die('Co uld not run that command ', '', __FILE__, __LINE__, $sql);
}
?>[/PHP]
Comment