i have a search function on my website for a text file...
but i want the $advance var to be replaced in the PRINT ""; statement with <span style='background-color: yellow'>$advance</span> so it will display the $advance var highlighted.
~Thanks Nate_Bro
Code:
for ($i = 0; $i <= $#data; $i++){
if ($data[$i] =~ /$advance/) {
print "<p align='left'><b><font size='2' face='Arial' color='#66CCFF'>$data[$i]</font></b></p>\n";
}
}
~Thanks Nate_Bro