Meglio ancora
Così non c'è problema se nel DB le squadre sono scritte "miste" ('Ciccio Pasticcio', ' Galli belli', 'gigi la trottola').Codice PHP:
if (trim(strtolower($td1strip)) == trim(strtolower("nome squadra")) ) {
$color = "#FF0000";
}
Meglio ancora
Così non c'è problema se nel DB le squadre sono scritte "miste" ('Ciccio Pasticcio', ' Galli belli', 'gigi la trottola').Codice PHP:
if (trim(strtolower($td1strip)) == trim(strtolower("nome squadra")) ) {
$color = "#FF0000";
}