I have the following code to update the record of the administrator
$ inforequest = Info :: Search ($ ID); $ Inforequest- & gt; Infoname = $ inforequest- & gt; Inomes; $ Inforequest- & gt; Infotel = $ infest-> Infotel; $ Inforequest- & gt; Infoteg = $ infquest-> Infoteg; $ Inforequest- & gt; Ungroup = $ inforequest-> Enfogroup; $ Last_query = $ inforequest- & gt; Save (); Return Redirect ('auth / getallinfo');
but this data is not updating and did not provide any errors
how can I print mysql query ???
Thanks in advance!
You can use the toSQL ()
method.
$ inforequest = info :: search ($ id) - & gt; ToSQL (); Dd ($ inforequest);
No comments:
Post a Comment