I know this is a silly question and I'm sure I'll realize exactly what's wrong after I post it, but I'm having trouble with the Left function in a site I'm designing. I basically just want to ouput the first 45 characters of a record, so I'm doing this:
<?php $var_string=Left($row_Recordset1['Body'],45); ?>
<?php echo $var_string; ?>
My guess is that I'm missing quotes or double quotes somewhere important, but I can't figure out what it is for the life of me. (Boss is on vacation, senior web developer is visiting sick relatives, etc, so I'm all alone here). Any ideas
Thanks,
Chad
[SOLVED] php Left Function Help
Moderator: General Moderators
-
carsenault
- Forum Newbie
- Posts: 2
- Joined: Thu Aug 05, 2004 1:21 pm
- Location: Maine, USA
-
carsenault
- Forum Newbie
- Posts: 2
- Joined: Thu Aug 05, 2004 1:21 pm
- Location: Maine, USA