Re: [PHP] your philosophy on php-design

2002-05-30 Thread Justin French
>So, If I were to use frames It could be done, but now I'm not thinking of >frames but of displaying content dynamically in a tabe cell. A few points: 1. you cannot reliably have content updated on the screen from information on the server (eg changing the "# of items in your shopping cart" di

Re: [PHP] your philosophy on php-design

2002-05-30 Thread Mike Gohlke
Wilbert, On one site as an experiment, I decided to put each frame (I know you don't want to use them...read on) into a single .php. It decides what to do via a switch on $act. Consequently, it's simple to keep it consistent (menu, submenu, footer, etc.). Add item link http://www.pdd.nl >[EMA

Re: [PHP] your philosophy on php-design

2002-05-30 Thread Ed Gorski
well just have the "add to basket" link on index.php call add_to_basket.php which doesn't print out anything and redirect back to index.php?type=itemAdded when finished. On index.php you can check for $_GET['type'] and generate the appropriate table. ed At 09:50 AM 5/30/2002 +0200, Wilbert E