CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 Passing the username from login page to another gr

Print topic Send  topic

Author Message
abs
Posted: 04/26/2003, 8:35 AM

Hi,

Can anyone tell me how pass the username from the session to to populate another table?
JD
Posted: 04/27/2003, 8:08 AM

In php and mysql

global $recordname;

$recordname->fieldname->SetValue(CCGetUserLoggedIN()); Look in the help file for a function similar.

or if you just use the default

$recordname->fieldname->SetValue(CCDLookUp("username", "login", "userid=" . CCGetSession("UserID"), $DB{you database connection}));

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.