I'm working on a website for TeamsSpeak server and I want to style a text that is displayed using php:
echo "Welcome: ".ucwords($name).". IP of our server is: ".ucwords($ip)." , and port is: ".ucwords($port)."<br>";
I want to style the whole text. I tried adding tags, for example
echo <div class="welcome_msg">"Welcome: ".ucwords($name).". IP of our server is: ".ucwords($ip)." , and port is: ".ucwords($port)."<br>"</div>;
It shows an error: Parse error: syntax error, unexpected '/' in C:\xampp\htdocs\index.php on line 9
How can I fix it?