Jump to content

Is this possible?


Mr_J

Recommended Posts

Hi all,

So I have a book, PHP IN 10 MINUTES by SAMS TEACH YOURSELF. I only got to lesson2... :(

I'm busy with yet another web page. It is HTML, CSS, JavaScript all mixed. Now, all I want to do is use PHP to display the YEAR only at the footer of the page so that I do not have to Update the page. Can it be done? HOW?

I run Apache Server Local as well as IIS7 and I have a SQL Server(not started) available.

This is what I tried with no success:

 

<div id="footer">

 

<p>&copy <?php

echo date('Y'); ?><img src="images/jaco.jpg" alt="J Joubert" > SA Micro Produkte </p>

 

</div>

 

Link: http://medbel.co.za/mcc/

Link to comment
https://forums.phpfreaks.com/topic/121372-is-this-possible/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.