vikrant
Posts: 32
|
| Posted: 02/07/2008, 12:27 AM |
|
Hi,
I am using PHP and mysql, and I am trying to get description from list box,
I also try to use Run-Time Variables (CF,CFT) i.e. arr_<owner name><control name>
but not able to use this...
can anybody know this...
_________________
Vikrant |
 |
 |
mamboBROWN
Posts: 1713
|
| Posted: 02/07/2008, 5:20 PM |
|
vikrant
I don't know if I understand your question....but here goes. Here are some links that I think may help you: http://docs.codecharge.com/studio40/html/QuickStart/Cre...xField.html?toc http://docs.codecharge.com/studio40/html/QuickStart/Cre...xField.html?toc http://docs.codecharge.com/studio40/html/ProgrammingTec...xValue.html?toc
|
 |
 |
Manuel A. Martinez
|
| Posted: 02/09/2008, 9:34 AM |
|
Vikrant;
Are you using tables to fill in the list box?
If this is the case you can do a look up to get the description using
CCLOOKUP.
Here is an example I used to fill a label:
global $DBConnection1;
$field = "description";
$table = "gender";
$where = "id = 'F'";
$Label1->Setvalue(ccdlookup($field,$table,$where,$DBConnection1));
I hope this is helpfull to you.
Manuel A. Martinez
manuel@mannymartinez.com
"vikrant" <vikrant@forum.codecharge> wrote in message
news:547aac0f421e20@news.codecharge.com...
> Hi,
> I am using PHP and mysql, and I am trying to get description from list
> box,
> I also try to use Run-Time Variables (CF,CFT) i.e. arr_<owner
> name><control
> name>
> but not able to use this...
> can anybody know this...
> _________________
> Vikrant
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
JayEdgar
Posts: 77
|
| Posted: 02/10/2008, 5:16 PM |
|
I think Javascript may be able to grab the values - try searching the DOM.
PHP will NOT be able to get these values from the rendered HTML, because nothing is being sent to the server.
Use the CCDLookup function is a good idea.
Cheers,
Jay
|
 |
 |
|