$data['sci'] = ($data['client_id'] < 1 ? (segment(4) > 0 && $id < 1 ? segment(4): false) : $data['client_id']);
Hehe, Just been re doing some old code and beginning to wonder what I was drinking when I wrote some of it :eek4:
Er, yes. ;D
opps wrong forum section, please feel free to move to whatever section you think best, eg. The WTF section ;D
Great idea for a new board, Paul! ;D
It could be a busy board.
Especially this week. ;D
Mmmmm, ternary operations. Looks like PHP.
Yeah its PHP.