Trying to trim PHP field (MySQL) output of string to only show initial character – “Andrew” becomes “A”
Have tried many variations on this:
<?php echo $row_rs1[LEFT('fname', 1)]; ?>This produces the following error:
Fatal error: Call to undefined function LEFT() in /home/ibtib/public_html/dbc/ccl_list.php on line 107
How can I make this work?