$db=DBI->connect("dbi:mysql:Web");
$query='select firstname,surname from PERSON';
$s=$db->prepare($query);
$s->execute();
print"<font color=\"990000\"><b><center><font face=\"Comic Sans Ms\"><font size=\"6\">Track a socialite</b></font face></font color></center></font size><br><br>";
print"<b>Select the socialite you'd like to have more detail on and press submit</b><br><br>";
print"<table>";
print"<form action=\"track.pl\" method=\"post\">";
while(@result=$s->fetchrow())
{for($index=0;$index<@result;$index=$index+2)
{
print"<tr><td><input type=\"radio\" name=\"track\" value=\"$result[$index]\"> @result</td></tr>";
print"\n";
}
}
print"<input type=\"submit\"></form></table>";
$s->finish();
$db->disconnect();
Could anyone help me?
Thanks
Figment means that you neglected to say thanks for his/her assistance.
I must apologise. It was my post that degraded the whole tone of this thread in the first place. I guess once the tone was set, Aline responded. (Its natural to forget your manners once you are put on the defensive.)
Sorry
Shawn