i’m new in symfony framework and i need help
actually i want to display data from my database (fetch appartment details in the reservation page )
- this is the controller code :
- this is twig code
- so two erros apears like this :
- and also this one :
An exception has been thrown during the rendering of a template (“Notice: Undefined index: appartements”).
Source: Symfony Questions