Re: [PHP] Code elegance and cleanliness

2004-07-23 Thread Matthew Sims
> Just a quick question. Does it really matter how long your code is or how > many variables you use? For instance you can enter the following... > > $imgBkgrnd = array("1"=> "bkgrnd-default.gif", "2" => > "bkgrnd-positive.gif", "3" => "bkgrnd-negative.gif"); > $imgNeeded = table['field']; > $imgNa

[PHP] Code elegance and cleanliness

2004-07-23 Thread Robb Kerr
Just a quick question. Does it really matter how long your code is or how many variables you use? For instance you can enter the following... $imgBkgrnd = array("1"=> "bkgrnd-default.gif", "2" => "bkgrnd-positive.gif", "3" => "bkgrnd-negative.gif"); $imgNeeded = table['field']; $imgName = $imgBkgr