Don't worry about the outdated html. I will fix that later. But first things first.
On both lines, I shortened the code by replacing 2 echo with 1. Like so:

PHP Code:

echo $site_name $user";

And then I started getting an error. before this change no error was given. I get an error related to another thing but the funny thing is I never got that error before fiddling with the echoes.
I get error:
Fatal error: Only variables can be passed by reference in C:\xampp\htdocs\test\notices.php on line 70
Note line 70 looks like the following and I have included variables. And so, I don't understand the error.

Note that, on my NotePad++, the "time" is coloured black while the rest of the text that is part of the variable name is shown blue. Why is that ?$date_&_time

My column name is: date_&_time.
Few days earlier, I was getting error that the column name is unrecognised and so I switched the column name in mysql tbl to: date_and_time.
And the error was gone.
But the funny thing is, I have other php files that reference likewise to other tbles and they too have the column name: $date_&_time.
But, I never get shown any errors on those php file and these php files do manage to dump data to these other tbles and these $date_&_time columns do show the current date & time.
But, when I deal with this particular php file then for some reason it does not like the $date_&_time mention in the php file and I started getting errors that the column name is unknown even though the column name for that particular tbl was "$date_&_time".
And now, NotePad++ colours the "time" part black while the rest of the variable name "$date_&_" blue. Why is that ?
very very strange!

Anyway, here's the full code. It is not complete so ignore the other variables names such as $result_2. And in this thread, let's concentrate on this single issue.

Then the error disappears. I am suspecting either php or mysql has an issue with the "&" from column and variable: date_&_time.
Anyway, let me investigate and experiment if "&" is forbidden to be part of a variable name.
Thanks for the hint.
Oh btw, you actually did not mean to swear in your last post. You did it as a joke. But I took it as the wrong way and reported you. Oopps!

I notice the following from your link:To assign by reference, simply prepend an ampersand (&) to the beginning of the variable which is being assigned (the source variable).
Guessing the "&" is reserved for another purpose in a variable. Just had a quick glance at your link and did a CTRL+F and came across the sentence.
Gonna have to look more into this.

Thanks for the link.
I'm not much of a techie guy. They say: "You can't teach an old dog new tricks!" and I say: "You can't teach a layman too much techie stuffs". I'm the layman here. So, having a quick look at your link tells my layman head that I should not use "&" in the middle of a variable name as it is reserved for things like this:$a & $b And Bits that are set in both $a and $b are set.PHP: Bitwise Operators - Manual
But do correct me if my understanding is flawed.
Else tell me I understood correct and I'll close the thread.
Again, thanks for the link.

@Requinix, if I understood Kicken correct then comment and close this thread by making a comment handy for all future newbies.