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 -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -