Hi. I am trying to delete data from database by clicking. But when I give $all[$i]->delete() It deletes all data from database. I am trying to delete only one. Can somebody help, please.
<?php for ($i=0; $i<count($all); $i++){ $header = $all[$i]->getHeader(); $content = $all[$i]->getContent(); $created = $all[$i]->getCreatedAt(); echo '<a href="'.$all[$i]->delete().'">Delete</a>'; }?> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---