On Fri, 28 May 2010, Parijat Kalia wrote:
> $c= new Criteria()
> $c->add(QuestionsPeer::USERNAME,'ali');
> $results = QuestionsPeer::doSelect($c);
>
> Now $results contains all the data of the questions table, where I am
> looking only for the question column, what do I need to add to the above
> query to make it work,
Im assuming you're using Propel:
foreach($results as $result) {
print $results->getQuestion();
}
--
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en