RE:Looking for an informed opinion
| From: | Dusty Cohen | Date: | Tue, 28 Nov 2000 14:46:53 +0000 |
| Subject: | RE:Looking for an informed opinion | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-27600@lists.php.net to get a copy of this message | ||
This is what functions are for. Write each 'smaller program' into a function, and the call
whichever function is needed.
Dusty
-----------------------------------------------
http://TerribleHost.com 50mg/php/mySQL $10month
-----------------------------------------------
Hi All,
I'm writing a php script to receive emails save them into a mysql db
and
then another
script to list and view them. My question is: At the moment I'm
keeping
all the viewing functionality
within one script which generates the a number of different pages. Are
there any major disadavantages to producing one big script rather than
lots
of smaller scripts for this page generation functionality?
Allan Goacher
Cybercandy Ltd