This topic is locked

LOGINAME(123) x FULLNAME(mary)

6/8/2009 23:58:35
PHPRunner General questions
H
helvis2009 author

Hello friends,
I have the following questions:
I have a login table with the following fields:

COD NAME PASS

123 mary rose abc
where do I sign .. username is "cod" I would like it to appear the "name" .. I saw several topics in the forum here .. it not more I ask help from you.
Thanks!

J
Jane 6/9/2009
H
helvis2009 author 6/9/2009

Thanks for the reply, this looked more ja Topi and do not understand ..
my question is:

I have the table "tb_user" with the fields (LOGIN, NAME, PASSWORD, GROUP)
Where I enter the correct information for the display of "NAME", I have LI and I several times according to the topic (http://www.asprunner.com/forums/index.php?showtopic=11025) fails. . PLEASE HELP ME!

J
Jane 6/10/2009

Hi,
Save this value to session variable in AfterSuccessfulLogin event on the Events tab:

$_SESSION['FullName'] = $data['NAME'];


Then in BeforeShowList event use the following:

$xt->assign("username",$_SESSION['FullName']);

H
helvis2009 author 6/11/2009

Thanks man ... has many days that was behind this solution. My thanks!

H
helvis2009 author 6/11/2009

Thanks man ... has many days that was behind this solution. My thanks!