function kisa($par,$i) {
$result = mysql_query($par);
if (mysql_num_rows($result)) {
$score = mysql_fetch_assoc($result);
echo $score[$i];
}
else {
echo 1;
}
}
kisa("SELECT * FROM site_ayarlari","site_desc");
function kisa($par,$i) {
$result = mysql_query($par);
if (mysql_num_rows($result)) {
$score = mysql_fetch_assoc($result);
echo $score[$i];
}
else {
echo 1;
}
}
kisa("SELECT * FROM site_ayarlari","site_desc");