<?xml version="1.0" encoding="UTF-8" ?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <title>Latest snippets tagged propel order symfony rand</title>
  <link rel="alternate" href="http://snippets.prendreuncafe.com/snippets/tagged/propel+order+symfony+rand/order_by/date"></link>
  <id>http://snippets.prendreuncafe.com/snippets/tagged/propel+order+symfony+rand/order_by/date</id>
  <updated>2008-03-30T15:34:49Z</updated>
  <author>
    <name>Symfony</name>
    <author_email>noreply@symfony-project.com</author_email>
  </author>
<entry>
  <title>Symfony, trier aléatoirement les résultat avec Propel et MySQL</title>
  <link href="http://snippets.prendreuncafe.com/snippet/83"></link>
  <updated>2008-03-30T15:34:49Z</updated>
  <id>83</id>
  <summary type="html">Attention, cela ne fonctionnera probablement qu'avec MySQL :

[code php]
&lt;?php
$c = new criteria;
$c-&gt;addAscendingOrderByColumn('rand()');
$results = TotoPeer::doSelect($c);
[/code]</summary>
</entry>
</feed>