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

 ::: ListOfValues ListBox - Adding Several Entries

Print topic Send  topic

Author Message
klwillis


Posts: 428
Posted: 06/28/2004, 12:00 AM

The following works - where 'Status' is a ListBox
within the form 'Tasks':

$Tasks->Status->Values = array(
array("1", "High"),
array("2", "Normal"),
array("3", "Low")
);


If you want to create a listbox with percentages going
from 1 to 100, how could you insert the values into the
listbox programatically without listing each one as above?

I basically want to achieve something like this
for the generated HTML ...

<option value="1">1%</option>
<option value="2">2%</option>
.
.
.
<option value="100">100%</option>









_________________
Kevin Willis, VP/CIO
HealthCare Information Technology Specialist
http://www.nexushealthcare.com
"Fast - Convenient - Quality-Care"

Medical Software Consulting Services
Email : klwillis@nexushealthcare.com
Skype : klwillis2006
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.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


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