Hi list,
I'm using this script to generate an alphabetical list of names, and a .gif
as separator. Thank's Gerard onorato for the code. But I'd like a help to
make something that I always have problem. At this moment my script outputs
a html table with 1 column, how can I make it outputs a 3 column table???
this is the code.
$ultletra = '';
$row = '';
while($resultado = $query->dados()) {
$curletra = $resultado['letra'];
if($curletra != $ultletra) {
$row .= "<tr>\n<td>\n<img src=\"img/letras/$curletra.gif\"
width=\"24\" height=\"24\">\n</td>\n</tr>\n";
}
$row .= "<td><a
href=\"interna.php?cat=$resultado[Nome_Categoria]&celebID=$resultado[CelebID
]\">".$resultado['Nome_Artistico']."</a></td>\n";
$ultletra = $curletra;
}
Thank's in advance
Rodrigo
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]