CodeCharge Studio
search Register Login  

Web Reports

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 How to get descriptions from Listbox

Print topic Send  topic

Author Message
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
View profile  Send private message
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
View profile  Send private message
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
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.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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