in reply to Help resolve Useless use of array element in void context warning.
Take that line out from the code, and it looks like:
I suspect that the last comma on the line was intended to be a period, which eliminates the error, and is probably what you wanted, leaving:$lengthandn = $line[4] . ',', $line[5];
Update: Oops - didn't see the earlier of the duplicated posts with answers already provided.$lengthandn = $line[4] . ',' . $line[5];
|
|---|