foreach ($cellIterator as $cell) {
$value = trim($cell->getValue());
$column = $cell->getColumn();
switch ($column) {
//specific process for each column
}
}
echo "<hr/>";
}
//this is the line which never ends
$listePersonnes->save();
I tried a of different ways in order to fixed it but the only thing which goes wrong is the last line, and i don't know why.
Does somebody can help me ?
If you need my model, just tell me
Without knowing what the Doctrine_Collection::save() method does, it will be difficult for us to debug it (unless someone here happens to also have experience with that class).
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
i posted my problem here in hopping that somebody has already got that kind of problem
You never know: you may get lucky.
(I suspect you'll get luckier, though, if you can find a forum or support page specific to that product -- but it never hurts to ask here. )
"Please give us a simple answer, so that we don't have to think, because if we think, we might find answers that don't fit the way we want the world to be."
~ Terry Pratchett in Nation
The best I can say is that the code snippet you posted seems to look just like the documentation example, so the real error may be elsewhere in your code.
Bookmarks