18.09.2009, 14:23
(18.09.2009, 13:50)StefanT schrieb: [ -> ]Dann musst du für jedes Profilfeld eine Variable benutzen.
Könntest du mir sagen welche Änderungen man dafür durchführen muss?
(18.09.2009, 13:50)StefanT schrieb: [ -> ]Dann musst du für jedes Profilfeld eine Variable benutzen.
Folgende Warnungen sind aufgetreten:
Warning [2] Cannot modify header information - headers already sent by (output started at /www/htdocs/w00ccb68/member.php:1) - Line: 1548 - File: inc/functions.php PHP 5.2.9 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1548 header
/inc/class_session.php 365 my_setcookie
/inc/class_session.php 98 session->load_guest
/global.php 56 session->init
/member.php 20 require_once
Warning [2] Cannot modify header information - headers already sent by (output started at /www/htdocs/w00ccb68/member.php:1) - Line: 1548 - File: inc/functions.php PHP 5.2.9 (Linux)
File Line Function
[PHP] errorHandler->error
/inc/functions.php 1548 header
/inc/class_session.php 106 my_setcookie
/global.php 56 session->init
/member.php 20 require_once
$donotshow = array('3','4');
if(!in_array($customfield['fid'], $donotshow))
{
eval("\$customfields .= \"".$templates->get("member_profile_customfields_field")."\";");
$bgcolor = alt_trow();
}
else
{
$gender = htmlspecialchars_uni($userfields[$field]);
$alter = htmlspecialchars_uni($userfields[$field]);
}
}
Parse error: syntax error, unexpected T_ELSE in /www/htdocs/w00ccb68/member.php on line 1685
}
else
{
(24.08.2010, 18:10)DJWipe schrieb: [ -> ]Ich änder diesen wie folgt um:
Mach ich da irgendetwas falsch?Code:$donotshow = array('3','4');
if(!in_array($customfield['fid'], $donotshow))
{
eval("\$customfields .= \"".$templates->get("member_profile_customfields_field")."\";");
$bgcolor = alt_trow();
}
else
{
$gender = htmlspecialchars_uni($userfields[$field]);
$alter = htmlspecialchars_uni($userfields[$field]);
}
}
$donotshow = array('3','4');
if(!in_array($customfield['fid'], $donotshow))
{
eval("\$customfields .= \"".$templates->get("member_profile_customfields_field")."\";");
$bgcolor = alt_trow();
}
else
{
$gender = htmlspecialchars_uni($userfields[$field]);
$alter = htmlspecialchars_uni($userfields[$field]);
}