PDA

View Full Version : add to database, then read..


Winterworks
02-07-2009, 11:09 AM
I currently have two questions... I have a new forum software, and it's almost completed.

What I need, is the following two things...

1) I need to be able to write say "$newest_member" on my statistics box at the bottom of the forum, and have it show up saying the actual newest member who has registered. How can I do this feature?

2) In my AdminCP, I have...

<tr>
<td style="padding:3px;" align="left" width="50%">Site name</td>
<td style="padding:3px" align="left"><input value="$board_name" name="board_name" type="text" style="width:180px;font-size:8pt;font-family:tahoma;padding-bottom:2px;padding:3px;" /></td>
</tr>

So you write your site name in, and it gets stored to the database. This one works completely...

Now I'm wondering, how I can make another option for "current year", so there's a box, and people enter the year it is currently, and it'll show up on the website homepage in the copyright. How can I go about adding this?