Hallo,
ich möchte in der
/adm/adm_program/modules/profile/profile.php
auch ein Löschen-Button (neben die anderen Icons) haben.
Der Einbau dieses Schnipsels funzt leider nicht:
echo '
<a class="iconLink" href="'.$g_root_path.'/adm_program/administration/members/members_function.php?user_id='. $user->getValue('usr_id').'&mode=6"><img
src="'. THEME_PATH. '/icons/delete.png" alt="'.$g_l10n->get('MEM_REMOVE_USER').'" title="'.$g_l10n->get('MEM_REMOVE_USER').'" /></a>';
Da kommt der 1064er Fehler.
Hilfe!
Löschen-Icon im Profilmodus
S Q L - E R R O R
CODE: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9
B A C K T R A C E
FILE: adm_program/system/db/mysql.php
LINE: 62
CALL: DB->db_error()
FILE: adm_program/system/db/mysql.php
LINE: 164
CALL: MySqlDB->db_error()
FILE: adm_program/administration/members/members_function.php
LINE: 67
CALL: MySqlDB->query()
CODE: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 9
B A C K T R A C E
FILE: adm_program/system/db/mysql.php
LINE: 62
CALL: DB->db_error()
FILE: adm_program/system/db/mysql.php
LINE: 164
CALL: MySqlDB->db_error()
FILE: adm_program/administration/members/members_function.php
LINE: 67
CALL: MySqlDB->query()