I am developing a blog system using Laravel and showing content based on URI segment. My segment is 3 and this segment is, post TITLE.
Problem is once a post title is "test" and another post has same title, "test" then system is showing only 1 post where there are 2 post actually.
How could I show the both post with same URI.
Example: URI : example.com/article/test Expected Content : Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1 Test1
Example: URI : example.com/article/test Expected Content : Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2 Test2
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire