hello guys, first of all thank’s to everyone whoever takes time to answer or even read this thread.
(I’m sorry i’ve you have a hard time understanding whatever i’m trying to explain)
basicly i’ve created a php file, who is getting the information from my ftp on the forums.
but it’s extremely messy since it had no breaks just continues the lines after lines.
my question to you guys is is there a way to colorize a specific word such as “hey?” or “welcome.”
the thing is it’s not the same line it changes every few seconds. so i can’t just go in the logs can’t colorize that word since it’s changing eachtime.
i need a code such as "if line contains “hey” <colorize it in red.
example:
[11:55:39] ------------------Round: 0--------------------[11:56:31] Hey shot welcome for 7 damage with a gun.
and second question is how can i numberize the lines without creating a table?
[11:55:39] ------------------Round: 0--------------------
[11:56:31] Hey shot welcome for 7 damage with a gun.
^ that’s how i want it to show on the forums.
thank you for reading, and trying to help me! if i explained it wrong i would be grateful if you correct me!