Just a little something for you

Started by psp83, Oct 21, 2010, 12:18:56

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

psp83

$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:

Rik

Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

psp83

opps wrong forum section, please feel free to move to whatever section you think best, eg. The WTF section  ;D


Simon

Great idea for a new board, Paul!  ;D
Simon.
--
This post reflects my own views, opinions and experience, not those of IDNet.

Glenn

Glenn
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

Rik

Rik
--------------------

This post reflects my own views, opinions and experience, not those of IDNet.

esh

Mmmmm, ternary operations. Looks like PHP.
CompuServe 28.8k/33.6k 1994-1998, BT 56k 1998-2001, NTL Cable 512k 2001-2004, 2x F2S 1M 2004-2008, IDNet 8M 2008 - LLU 11M 2011

psp83