Re: Re[6]: AW: [SMARTY] Paging

From: Date: Thu, 12 Dec 2002 14:29:45 +0000
Subject: Re: Re[6]: AW: [SMARTY] Paging
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6768@lists.php.net to get a copy of this message
For the record, I wrote that. ;-) Monte On Thu, 2002-12-12 at 08:15, Bertrand DUNOGIER wrote: > >> {return_paged_results query="delete * from customer"} > > BP> fair point, i can see how the designer is capable of damaging the > BP> database. but this seems like a malicious usage of the plugin. > > BP> the *intended* method of use would be to use a query supplied by the > BP> php. > YOu should read a little the page Andrei has written about "Why use Smarty". He > gives some sound sample of what real layout / code separation is. And giving a > SQL query as a parameter in the template is definitely a very good sample of > what separation is NOT :) > > Bertrand

« previous php.smarty.general (#6768) next »