Im making my own website/CP, and when show the online list(example) the image of the guild emblem dont show.
I try using the ceres script, modifying, using another scripts, but nothing works.
<?php
include ("jobs.php");
mysql_connect(host,user,pass);
mysql_select_db(db);
$result = mysql_query("
SELECT `char`.`name`, `char`.`class`, `char`.`base_level`, `char`.`last_map`, `char`.`job_level`, `login`.`level`, `login`.`sex`, `guild`.`name` AS `gname`, `char`.`zeny`, `guild`.`guild_id`
FROM `char` LEFT JOIN `login` ON `login`.`account_id` = `char`.`account_id` LEFT JOIN `guild` ON `guild`.`guild_id` = `char`.`guild_id`
WHERE `char`.`online` <> '0'
ORDER BY `char`.`name`
");
while ($row = mysql_fetch_array($result)) {
echo "<tr>";
echo "<td width='35px'><img style='vertical-align: middle;' src='emblem.php?data=".$row["guild_id"].".png'></td>";
echo "<td width='35px'><img style='vertical-align: middle;' src='../images/".$row["sex"].".png'></td>";
echo "<td> ".$row["name"]." </td><td>";
echo $jobs[$row['class']];
echo "</td>";
echo "<td> ".$row["gname"]." </td>";
echo "<td style='text-align:right;'> ".$row["base_level"]."/".$row["job_level"]." </td>";
echo "</tr>";
}
;
?>?>
The URLs and config of mysql connections are right. I put the files of Ceres and the emblem only show a black square, I go to the url "emblem.php?data=ID" and show the download windows, I see the file and have this characters
BMv 6 ( @ € € €€ € € € €€ ÀÀÀ ÀÜÀ ðʦ @ ` € À À @ @ @@ @` @€ @ @À @À ` ` `@ `` `€ ` `À `À € € €@ €` €€ € €À €À @ ` € À À À À À@ À` À€ À ÀÀ ÀÀ À À À@ À` À€ À ÀÀ ÀÀ @ @ @ @ @ ` @ € @ @ À @ À @ @ @ @ @ ` @ € @ @ À @ À @@ @@ @@@ @@` @@€ @@ @@À @@À @` @` @`@ @`` @`€ @` @`À @`À @€ @€ @€@ @€` @€€ @€ @€À @€À @ @ @ @ @ ` @ € @ @ À @ À @À @À @À@ @À` @À€ @À @ÀÀ @ÀÀ @À @À @À@ @À` @À€ @À @ÀÀ @ÀÀ € € € @ € ` € € € € À € À € € € @ € ` € € € € À € À €@ €@ €@@ €@` €@€ €@ €@À €@À €` €` €`@ €`` €`€ €` €`À €`À €€ €€ €€@ €€` €€€ €€ €€À €€À € € € @ € ` € € € € À € À €À €À €À@ €À` €À€ €À €ÀÀ €ÀÀ €À €À €À@ €À` €À€ €À €ÀÀ €ÀÀ À À À @ À ` À € À À À À À À À À @ À ` À € À À À À À À@ À@ À@@ À@` À@€ À@ À@À À@À À` À` À`@ À`` À`€ À` À`À À`À À€ À€ À€@ À€` À€€ À€ À€À À€À À À À @ À ` À € À À À À À ÀÀ ÀÀ ÀÀ@ ÀÀ` ÀÀ€ ÀÀ ðûÿ ¤ €€€ ÿ ÿ ÿÿ ÿ ÿ ÿ ÿÿ ÿÿÿ
Question
Law
Im making my own website/CP, and when show the online list(example) the image of the guild emblem dont show.
I try using the ceres script, modifying, using another scripts, but nothing works.
The URLs and config of mysql connections are right. I put the files of Ceres and the emblem only show a black square, I go to the url "emblem.php?data=ID" and show the download windows, I see the file and have this characters
Edited by LawLink to comment
Share on other sites
6 answers to this question
Recommended Posts