Ready to get started?Download WordPress


[resolved] Help Adding Text to PHP Printed Date (2 posts)

  1. bmoneruiux
    Posted 1 year ago #

    I have this php string printing out the year inside of a div:


    However how do I add ". All rights reserved." to this?

    I COULD just type it in directly, however I'm sure this isn't the way to do this and using a P tag puts it on another line...something I don't want.

  2. bmoneruiux
    Posted 1 year ago #

    Nevermind I got it. Changed the line to:

    echo "© ".date("Y").". All Rights Reserved.";

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.