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. |
 |
 |
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
|
 |
 |
|