Producers of Raw Cane Sugar and Black Strap Molasses

Welcome Back

Your account has been selected to test live load data from the scale. We are currently displaying your last 20 loads in the table below. This is currently in beta and is being tested by only a handfull of growers so there may be errors. Please report any errors you encounter or questions that you may have to Corey at LASUCA. He can be reached at 394-3785 Ext 244. Thank you for any feedback that you may have.


Reports   Load Data


$uid, "PWD"=>$pwd,'ReturnDatesAsStrings'=> true, "CharacterSet" => 'utf-8', "Database"=>"SugarCaneScale" ); /* Connect using SQL Server Authentication. */ $conn = sqlsrv_connect( $serverName, $connectionInfo); if( $conn === false ) { echo "Unable to connect.
"; die( print_r( sqlsrv_errors(), true)); } $sql = "SELECT TOP 50 VehicleId_Fk, LoadId_Pk, CropDay, TractId_Fk, TareWt, GrossWt, Tons, FarmerId_Fk, ScaleWt, CONVERT(varchar, DateOut, 100) [TIME], SplitPercent, Parked FROM LoadData WHERE FarmerId_Fk LIKE 1950 ORDER by LoadId_Pk DESC"; $stmt = sqlsrv_query( $conn, $sql ); if( $stmt === false) { die( print_r( sqlsrv_errors(), true) ); } ?> "; echo""; echo""; echo""; echo""; echo" "; echo" "; if ($row['ScaleWt'] > 100000) { echo" "; } else { echo""; } if ($Parked == True) echo""; if ($Parked == False) echo""; echo""; echo ""; } /* Free statement and connection resources. */ sqlsrv_free_stmt( $stmt); sqlsrv_close( $conn); ?>
Load No Vehicle Tract Tons Tare Gross P Time Out
".$row['LoadId_Pk']."".$row['VehicleId_Fk']."".$row['TractId_Fk']."".$row['Tons']."".$row['TareWt']."".$row['GrossWt']."".($row['ScaleWt'] - $row['GrossWt'])."". 0 ."YesNo".$row['TIME']."