Works for only one search result. My DB isn't the largest in the world. 😉
Edit: It works for two results, too. Probably works for up to 20 results.
Edit: What's wrong with this code?
It's supposed to use a different image depending upon what is in the particular field of the database. Unfortunately, it only displays the "No.png" version.
function Winamp($win)
{
if ($skinFile->$win=="y")
{
echo "
<IMG ALT='Component is skinned' SRC='Yes.png'>
";
}
else
{
echo "
<IMG ALT='Component is not included' SRC='No.png'>
";
}
}
KITTfan2K
p.s. I know that PNG isn't widely supported, and some might call me foolish for using it, but I wanted to.