CodeCharge Studio
search Register Login  

Visual Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 about OnlineStore

Print topic Send  topic

Author Message
bate_ico

Posts: 30
Posted: 08/30/2007, 1:38 PM

Hi
I use CCS to generate BOOK STORE but when I login whit admin/admin and add to shopping card the product and press button purchase I don't see the name of user who it's just empty
Is the any way to show me who is the user make purchase

best regards :-)
View profile  Send private message
klwillis


Posts: 428
Posted: 09/02/2007, 8:21 PM

Probably the easiest way to do this is (after logging in sucessfully)
to set a session variable with the name of the user who is logging
in with the given userid.

Something like this ...

CCSetSession("username",CCDLookUp("username","users","userid = $userid",$DB<Your-Connection>));

Quote bate_ico:
Hi
I use CCS to generate BOOK STORE but when I login whit admin/admin and add to shopping card the product and press button purchase I don't see the name of user who it's just empty
Is the any way to show me who is the user make purchase

best regards :-)

_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
View profile  Send private message

Add new topic Subscribe to topic   


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

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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