DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • October 18, 2018, 09:38:51 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Resource Pages

Pages: [1]   Go Down
Author Topic: Help please.  (Read 2956 times)
0 Members and 1 Guest are viewing this topic.
« on: May 04, 2005, 01:49:48 PM »

OK, so I put this in the common to display what type of boat my users have..
.templatereplace("statrow",array("title"=>"Boat Type","value"=>$row4['type']))
and then at the top of the charstats function I put
$sql="SELECT * FROM ships WHERE ownerid='".$session[user][acctid]."'";
and then when my users buy a house, as well as myself, the stats part for boats comes up as nothing...any ideas?

EDIT: I will be releasing this mod on here once it is completed..then try and rework it to work for the new version of lotgd...
« Last Edit: May 04, 2005, 01:52:15 PM by TeMpTeD » Logged
Old Dog
Mod God
Offline Offline

Posts: 1047

LoGD Buff!

View Profile WWW
« Reply #1 on: May 04, 2005, 02:01:17 PM »

Would have easier to use an array for the boat types and then call it for the stats.

Actually, take a look on how races are configured and called, then you can easily figure this simple problem out.

Pages: [1]   Go Up
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
29 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search