Can anyone explain: $row['variable']{0}
Posted: Sun Oct 09, 2005 9:49 am
I have come accross the following which I think means the first char of the returned value:
Can someone just confirm this?
Thanks
Code: Select all
if ($row['variable']{0}!='+') {
// We DO NOT have an + as the first char of the string
} else {
// We have an + as the first char of the string
}Thanks