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

 read csv and output data to grid

Print topic Send  topic

Author Message
kirchaj

Posts: 215
Posted: 10/15/2007, 10:05 AM

I think this goes back to a batch process wish in CCS but I thought I would ask. I would like to be able to read a csv file with ids and output data to a grid based on the ids.

for example, given a list of student ids, read each id and output gpa, act score, admission info, etc. to a grid that can later be exported.

I have a script that does this at the php command line level and would like to make it a little more user friendly and easier to do on a regular basis.

Thanks.

TK
View profile  Send private message
headhunter


Posts: 130
Posted: 10/16/2007, 12:54 AM

I have done quite simmilar thing to import csv into database.
Instead of inserting into db you can output it to a grid (but you have to format and output the grid yourself in php)
Or you can make a table for it that when you call the function to read the file it empty the table first and import new data and use the db to build your grid on.
That's the way I do it for ip-to-country.

If interested, I mail you the file.
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.