Hi All,
I'm creating a piece of code that displays a different button in a menu depending on conditions.
It always shows the "close" button which works fine until; either, the window is refreshed a few times or the other button is showed but I'm not sure which one or why!!
The exact code is below, sorry its a bit scrappy.
if ($bandid > 0)
{
printf("<a href=\"http://www.union-goers.co.uk/ssi/band-manager.php3?bandid=%s&view=1\"><img src=\"/ssi/band-man-buttons/menu.jpg\" border=\"0\"></a>",$bandid);
}
printf("<a href=\"javascript:self.close();\"><img src=\"/ssi/band-man-buttons/close.jpg\" border=\"0\"></a>");
printf("</td></tr><tr><td colspan=\"2\">");
If anyone could help I'd be very grateful.
Nathan.