Hello!
I am a newbie with web programming, so please bear with me!
I was very pleased with myself for being able to learn how to use the php 'include' command to easily update news updates within a single cell/panel that exists on multiple pages within a site. I used the code:
<?php include("news.php"); ?>
And so news.php contains text and styles from an external styling sheet, such as:
<p><span class="jan">23</span><span class="lefttitles"> Lorem
ipsum dolor</span></p>
<p class="lefttext">Lorem ipsum dolor sit amet, consectetu er adipiscing
elit, sed diam nonummy n ibh euismod tincidunt ut laoreet dolore magna
aliquam erat volutpat. Utll wisi e nim ad minim veniam, quis nostrud
exe rci tation.</p>
Right now, the way it is set up, the person adding news to the news.php file would have to go through a series of steps in order to update each time.
Instead, he is requesting a sort of admin page with a form that is password protected that he may enter information and simply click 'submit' and be done. Does anyone have any idea how I can do this and also make sure that the class/styling info is included in the data submitted? And the reason I did not try using Drupal or Joomla is because the site has already been created using Dreamweaver.
Additionally, when content overflows, I have it set up to have a scroll bar. However, he wants the updated news to push the old news downward, until it is full, and then have a "SHOW MORE NEWS" button appear at the bottom. Any ideas on how to do this? I suppose this may be more appropriate for the website design forum.
Any help is MUCH appreciated!
Thanks in advance.