laravel - parameter mismatch,pattern is a string while replacement is an array -


A login user is trying to send again via their mail. What I want to do after the user clicks on the Forgot Password link, requesting your email to request a form is posted. Email has been posted after, I check that the Email user matches the email in the table and sends the details.

Here's my controller:

Public work postResendPassword () {$ posted = input :: get (); $ Email = $ Posted ['Email']; $ User = User :: where ('email', '=', $ email) - & gt; first (); $ User_password = $ user- & gt; Password_confirmation; $ User_username = $ user- & gt; User name; $ User_email = $ user- & gt; E-mail; $ From = $ user- & gt; E-mail; $ Theme = "login details request"; $ Message = & lt; H3 & gt; Login details & lt; / H3 & gt; Email: $ user_email login password: $ user_password; Mail ($ $, $ theme, $ message); }

How do I go about this and fix this error


Comments

Popular posts from this blog

sqlite3 - UPDATE a table from the SELECT of another one -

c# - Showing a SelectedItem's Property -

javascript - Render HTML after each iteration in loop -