[eluser]defeed[/eluser]
I'm adding a new movie and there is a text input to enter genre. How can I check if the given genre already exists in the 'genres' table thus relate a new movie to that genre by '$movie->save($genre)', otherwise add a new genre and then relate it to the movie by doing '$genre->save(); $movie->save($genre)'? Anyone, please?