CodeCharge Studio
search Register Login  

Visual PHP Web Development

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 CCdlookup with variable from grid

Print topic Send  topic

Author Message
ckroon

Posts: 869
Posted: 03/27/2008, 9:23 PM

I have used this a lot:

global $DBConnection1;
$Container->Label1->SetValue(CCDLookUp("wantodisplayname","tablename","primarykeyfield=".CCGetFromGet("urlname",0),$DBConnection1));

How do I tweak it so that it looks at a table variable (like a hidden field) or a function?


_________________
Walter Kempees...you are dearly missed.
View profile  Send private message
wkempees


Posts: 1679
Posted: 03/28/2008, 2:45 AM

CCGetFromGet(), reads the GET variables, f.i. the url.
CCGetFromPost(), reads the POSTED (sent) variables.
The function you alreasy know as both of the above are functions, lol


Walter
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)

if you liked this info PAYPAL me: http://donate.consultair.eu
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.