4

Multiplying column in awk and PHP

view full story
linux-howto

http://www.unix.com – hello, I'm writing a php script in fedora to run with a csv file. I want the script to read column 4 and multiply each single line in the column by 1000, how would that script look? I've written one script but it's obviously incorrect because it will not execute the command. here is my script Code: <?php $fileName_$SERVER["argv"][1]; echo "file: $filename\n"; $fp = fopen("$filename","r")or exit("cannot open or read file\n"); while(!feof($fp)). "\n";     {     echo fgets($fp). "\n";   & (HowTos)