View Single Post
Old 01-16-2008, 07:31 PM   #2 (permalink)
RobertK
The Addict
Top Contributor Good Samaritan 
 
Join Date: Jan 2008
Location: USA
Posts: 217
Thanks: 16
RobertK is on a distinguished road
Default

Err, I don't have five lines, unless you count whitespace. I was working on my own MVC framework, others are too advanced for me yet, and this is my last few lines:
PHP Code:
  public function dispatch() {
    
$page $_GET['page'] or 'index';
    
$cmd  $_GET['cmd']  or 'index';
  } 
We could post once a week or so with our last five lines, it'd sure make an interesting thread, wouldn't it?
__________________
Programmers are in a race with the Universe to create bigger and better idiot-proof programs, while the Universe is trying to create bigger and better idiots. So far the Universe is winning. - Rich Cook
RobertK is offline  
Reply With Quote