Hello, I am new to PHP but I am ok at coding using Xhtml and CSS. I am trying to learn PHP and decided to incorporate little bits of PHP into my website (website in the making still on local host) before I went all out with forms and stuff. All I am trying to do is display the date. When I put the php code in below 2 things happen. 1st is on my local host on the top left side this happens “?»?” (inside the quotes). This is rather anoying looking, but the date does appear correctly. When I view it in firefox and IE with the PHP coding in it screws up some stuff like font size…? I don’t know whats going on there except you are only supposed to be able to see php in a local host or server that supports php correct?
Anyway my basic question is am I doing the code right? And what is making the ?»? appear.
Hear is my code…
Goldfish Graphics