note 70624 added to ref.mysql

From: Date: Sun, 22 Oct 2006 08:22:57 +0000
Subject: note 70624 added to ref.mysql
Groups: php.notes 
Request: Send a blank email to php-notes+get-118940@lists.php.net to get a copy of this message
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). ---- Server IP: 216.194.113.175 Probable Submitter: 24.4.237.205 ---- Manual Page -- http://www.php.net/manual/en/ref.mysql.php Edit -- https://master.php.net/note/edit/70624 Del: integrated -- https://master.php.net/note/delete/70624/integrated Del: useless -- https://master.php.net/note/delete/70624/useless Del: bad code -- https://master.php.net/note/delete/70624/bad+code Del: spam -- https://master.php.net/note/delete/70624/spam Del: non-english -- https://master.php.net/note/delete/70624/non-english Del: in docs -- https://master.php.net/note/delete/70624/in+docs Del: other reasons-- https://master.php.net/note/delete/70624 Reject -- https://master.php.net/note/reject/70624 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#118940) next »