note 70624 deleted from ref.mysql by betz

From: Date: Sun, 22 Oct 2006 09:31:56 +0000
Subject: note 70624 deleted from ref.mysql by betz
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-118946@lists.php.net to get a copy of this message
Note Submitter: MVC Reason: useless ---- Example 1 breaks the MVC design pattern. Notice how the View (HTML Table) is mixed up with the Model (MySQL functions). Its best to separate these such that a PHP file with HTML pulls the data with either echo and for loops. All the mysql code will be in a separate php file focused on database etc (The model).

« previous php.notes (#118946) next »