DragonPrime - LoGD Resource Community
Welcome Guest
  • Good afternoon, Guest.
    Please log in, or register.
  • September 18, 2018, 02:25:37 PM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: How would you......  (Read 4147 times)
0 Members and 1 Guest are viewing this topic.
BigT
Guest
« on: May 19, 2004, 05:49:47 PM »

Put if you got a house add go to house in a village instead of go all the way to an estates.......??

This is what i did

if ($session['user']['hashouse']){ }else{
addnav("House");
addnav("[housename]","houses.php?op=inside&id=$_GET[id]");

But no luck for me can some one help?
Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5479



View Profile WWW
« Reply #1 on: May 19, 2004, 05:58:51 PM »

All you need is:

Code:
addnav("Go into House","houses.php?op=enter");
Logged

Play the latest beta version here on DragonPrime
BigT
Guest
« Reply #2 on: May 19, 2004, 06:18:44 PM »

Is there any thing to direct you striaght to the house?
Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5479



View Profile WWW
« Reply #3 on: May 19, 2004, 06:39:14 PM »

Yes.  (Should be a single line)

Code:
if ($session['user']['house']>0) addnav("Go into House","houses.php?op=inside&id=".$session['user']['house']."");

Logged

Play the latest beta version here on DragonPrime
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Version 1.1.2 is the current supported version and is available for download.

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
39 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search