Try

$select = $r->select()->order( 'id ASC' );
$ingredientsForRecipe = $recipe->findDependentRowset('Ingredients', null, $select);

The second argument for findDependentRowset specifies a rule name, the third is for the select object.

Kind regards

$select = $r->select()->order( 'id ASC' );
$ingredientsForRecipe = $recipe->findDependentRowset('Ingredients', $select);

--

Simon Mundy | Director | PEPTOLAB

""" " "" """""" "" "" """"""" " "" """"" " """"" "  """""" "" "

202/258 Flinders Lane | Melbourne | Victoria | Australia | 3000
Voice +61 (0) 3 9654 4324 | Mobile 0438 046 061 | Fax +61 (0) 3 9654 4124
http://www.peptolab.com

Reply via email to