sorinbuda
Posts: 27
|
| Posted: 11/22/2009, 9:18 AM |
|
global $documente1;
global $DBtest;
$documente1->id_docx->SetValue(CCDLookUp("MAX(id_doc_firma)","documente","id_firma=CCGetCookie("idf")", $DBtest) );
Everithing works well except the CCGetCookie statement. What should I do to enshure that
id_firma="idf" cookie?
thank you in advance
|
 |
 |
sorinbuda
Posts: 27
|
| Posted: 11/22/2009, 11:33 AM |
|
SOLVED:
global $documente1;
global $DBtest;
$idf=CCGetCookie("idf");
$documente1->id_docx->SetValue(CCDLookUp("MAX(id_doc_firma)+1","documente","id_firma=$idf", $DBtest) );
|
 |
 |
|