DeFKNoT 16.04.2006, 18:06
hata veren söz konusu dosyaya baktım
ve içinde ilk başında
<?php
function get_fields($where_clause = '', $expect_multiple = true, $selection = '*')
{
global $db;
$sql = "SELECT $selection FROM " . PROFILE_FIELDS_TABLE . "
$where_clause
ORDER BY field_id ASC";
if(!($result = $db->sql_query($sql)))
message_die(GENERAL_ERROR,'Could not select from ' . PROFILE_FIELDS_TABLE,'',__LINE__,__FILE__,$sql);
if($expect_multiple)
{
$profile_data = array();
while($temp = $db->sql_fetchrow($result))
if(!empty($temp))
$profile_data[] = $temp;
}
else
$profile_data = $db->sql_fetchrow($result);
return $profile_data;
bu kodlar var.. acaba yapmam gereken sql sorgusu bunun içinde bulunur mu