CodeCharge Studio
search Register Login  

Web Reporting

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

YesSoftware Forums -> CodeCharge Studio -> PHP

 [resolved - Echo a listbox with array values on it]

Print topic Send  topic

Author Message
CodeChargeMVP

Posts: 473
Posted: 11/08/2010, 4:16 AM

Hello,

This is an small part of a task where I´m struggling on:

Anywhere in my code is required than I echo an listbox this way:

$Thisisonlyatest = array("Juan", "Pedro");

echo"<select id='transferenciaselDivCod' name='elDivCod'><option selected value=''>Select value</option>"."{".$Thisisonlyatest."}"."</select>";


I´ve to create an array in the same way than Codecharge does with text and value,

the question is ¿how should like the array by the values are showed when the listbox is shown?

At this time when the listbox is showed no shows any values,just Select value.
_________________
Best Regards
Entrepeneur | NT Consultant
View profile  Send private message
datadoit
Posted: 11/08/2010, 5:25 AM

Please read:
http://docs.codecharge.com/studio40/html/ProgrammingTec...Values.html?toc
CodeChargeMVP

Posts: 473
Posted: 11/08/2010, 9:11 AM

thank you for your answer datadoit,

but that was not the solution,

I already know that help page,

I´ve learn how to set an dependent listbox without using

the steps from CSS Examples, just with

html,dhtml,javascript,ajax and php.

The solution to this issue was just simple and easy, and it wasn´t related

with php, i´m sorry for that, it was only necesary to add a new option value to the listbox.



Quote datadoit:

_________________
Best Regards
Entrepeneur | NT Consultant
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.