Jump to content
php.lv forumi

Kāā?


m0zus

Recommended Posts

if (strpos($row[acc],'a') == true){ echo "<strong><div style='color:#ff0000;'>". $row[vaards] . "</div></strong>";}
elseif (strpos($row[acc],'m') == true){ echo "<div style='color:#ff0000;'>". $row[vaards] . "</div>";}
elseif (strpos($row[acc],'b') == true){ echo "<div style='color:#0066FF;'>". $row[vaards] . "</div>";}

 

izmet tikai vienu vārdu un ar krāsu kādam jābūt m acc, kautkan acc ir abcdmr

Link to comment
Share on other sites

×
×
  • Create New...