If you are not registered or logged in, you may still use these forums but with limited features. Show recent topics
  [Search] Search   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [FAQ]  FAQ 
[Register] Register / 
[Login] Login 
Put No. of guestbook entrys on index  XML
Forum Index » Advanced Guestbook Forum
Author Message
Sander
Beginner

Joined: 23/08/2005 12:25:15
Messages: 9
Offline

Hey again,
i want to put the number of guestbook entrys in the index of my website, on the front page, how can i do that!
Carbonize
Master
[Avatar]

Joined: 12/06/2003 19:26:08
Messages: 4292
Location: Bristol, UK
Offline

Put this in a file called total.php then put the file into the guestbook folder


then include that file where you want the total to appear usingchanging the path/to part to reflect your servers directory structure.

Just remember that this will query your database everytime somebody views the page it's included on and if you are on a host that limits MySQL queris you could be in trouble.

Carbonize
I am not the maker of the Advanced Guestbook

get Lazarus
[Email] [WWW] [Yahoo!] aim icon [MSN] [ICQ]
 
Forum Index » Advanced Guestbook Forum
Go to:   
Based on the open source JForum