567679 Perl Script Mod... changing the way it outputs tables

Closed

I have a new project that requires a perl script modification.....

currently the script reads a flat csv file and returns results in a html table.... variables set in Lines 39-47

in this script I have it set to make 4 colums per row (line 40)

and each "result" is in a column cell, after each other... once it gets to the 5th result it makes a new row.... the 9th result a new row and so on...

works fine, but I need more flexibility... I have a customer who wants a vertical line between each result like in this example ([url removed, login to view])

so I need a need the script to modify how it writes the table.... I need variable that will insert an empty cell between the ones that show results and also set that cell with a background image of a rule line...

I want to have these settings controllable as variables so I can change the output as I see fit

I also want to have a horizontal rule in between the rows as well

I am not a programmer but this is how I imagine the variables looking (last 4 lines starts with "NEW---")

##########################################################

# Advanced Settings Columns

my $use_columns = 1;

my $columns = 4;

my $tableWidth ="1000";

my $tableBorder = 0;

my $tableCellpadding = 0;

my $tableCellspacing = 25;

my $tableStyle = "";

my $tableBorderColor = "";

my $tableBgColor = "";

NEW---my $use_ColumnDivider = 1; ( 1=yes 0=no)

NEW---my $ColumnDivider = ./[url removed, login to view]

NEW---my $use_RowDivider = 1; ( 1=yes 0=no)

NEW---my $RowDivider = ./[url removed, login to view]

##########################################################

don't know about the "real programming" that needs to be done in the script but I suspect it is somewhere around line 381

I have attached 2 scripts that i currently use that are very simular...

Skills: Anything Goes, Perl, PHP, Shell Script, Website Management

See more: who needs a perl programmer, vertical lines and horizontal lines, programming in perl, mod programming, horizontal line example, advanced perl programming, change column output perl table, programming perl, perl script modification, perl programmer, flat line, php flat file csv, insert variable, rows insert, perl change file, perl script file, flat background, vertical columns, table perl, perl table, perl csv html, html table insert, html modification image, output tables php, horizontal line

Project ID: #2313643

Awarded to:

buzzz

Hello, I can change it.

$50 USD in 1 day
(519 Reviews)
7.9