Just off the top I see the 'email', '='. 'silver'. For comparison, you use '=='. The single '=' is an assignment operator. From the perspective of the code, you are trying to assign 'email' the value of 'silver' rather than compare to see if the emails on the database are equal to 'silver'.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community