write me a php script that takes output of sql command select message from messages limit 40, cuts the result to 28 character strings and appends L$LINENUM $linenum being increasing number starting from 4 Please use JSON format in your answer.
user