Input::get() inside update query in laravel -



Input::get() inside update query in laravel -

how can utilize input info in database update query? ok utilize ,the next statement?

db::update('update doc set availability= 0 doctorid= input::get('doctorid');

capture input in variable first, concatenate sql statement.

laravel

Comments

Popular posts from this blog

php - How to pass multiple values from url -

php - Laravel not returning controller -

c# - Confused on how to specify a Platform and Version while using ChromeOptions for RemoteWebDriver with Selenium donNet since recent updates -