DragonPrime - LoGD Resource Community
Welcome Guest
  • Good evening, Guest.
    Please log in, or register.
  • January 20, 2018, 08:59:12 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 3876 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: 5477



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: 5477



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
Play LoGD on Dragonprime

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