Trying to output only the first character of a name in a field -- like, "Andrew" would output as "A."
I have this:
<?php echo $row_rs1[left('fname', 1)]; ?>
It does not work, but causes this error:
Fatal error: Call to undefined function LEFT() in....
Any guidance will be appreciated!
We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.