> if ($data[5] == "ja")
Ok nu virker det delvist, men enten sætter den billedet ved alle eller også
sætter den ikke billedet overhovedet ??
som om den ikke tager hensyn til $data[5] i arrayet ???
$foresp = mysql_query("SELECT
navn,webadr,adr,post,tlf,thai,udenl,escort,x,xx,xxx,mnummer FROM liste
ORDER BY navn");
if ($data[5] == "ja") {
$thaib = "<img src=\"{$config['imageurl']}/home.gif\" border=\"0\"
alt=\"$Home\" />";
}
if (!$foresp) die (mysql_error());
print mysql_num_rows($foresp)." fundet<BR><BR>";
while ($data = mysql_fetch_array($foresp)) {
echo "<tr><td class= darktable><A
href=
http://www.4701.dk/ubbthreads/retbetaling2.php?index=$data[8]>Ret
TD>";
echo "<td width=250 class= darktable>$data[0]$thaib</td>";
echo "<td width=40 class= darktable><A href=
http://".$data[1].">
src=\"{$config['imageurl']}/home.gif\" border=\"0\" alt=\"$Home\"
/></a></TD>";
echo "<td width=40 class= darktable><A href=
http://www.4701.dk/ubbthreads/dosearch.php?Cat=&Forum=All_Forums&Words=".$data[11]."&Match=Username&Searchpage=0&Limit=2&Old=allposts>
src=\"{$config['imageurl']}/ann.gif\" border=\"0\" alt=\"$Home\"
/></a></TD>";
echo "<td class= darktable>$data[2]</td>";
echo "<td class= darktable>$data[3]</td>";
echo "<td class= darktable>$data[4]</td>";
echo "</tr>";
}
er det helt galt lavet ??
thomas