Jump to content
MakeWebGames

How to get more than one value with {$player->example}?


begood

Recommended Posts

Hello everyone, again. :b

I need some help here, my problem right now is that I want to use this:

           //Select empresa details
           $empresa = $db->fetchRow('SELECT * FROM `<ezrpg>empresas` WHERE `dono`=?', array($_SESSION['userid']));
           $tpl->assign('empresa', $empresa);

 

To give me more than one results...

So, a player can have more than one company... But with the code above it just shows one company, don't show them all :s

If anyone could tell me how I do this I'll appreciate :$

Regards,

begood

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...