code design? modular?

From: Date: Fri, 02 Apr 2004 19:37:59 +0000
Subject: code design? modular?
Groups: php.general 
Request: Send a blank email to php-general+get-182175@lists.php.net to get a copy of this message
is it ok practice to put code like the code to put results from an mysql query into a combo box into an include file and then just include it wherever its needed? the code i can see would have to be used at least 5 times in the same page....

« previous php.general (#182175) next »