Skip to content
Advertisement

Update Multiple columns with no effect

I am developing an API’s, in my project we are using dynamic databases so for that one i am connecting databases by using mysqli it’s working fine i can able to do CRUD operations also on Database but if i try to update multiple columns at that time changes are not reflected in Database did i miss anything can anyone please help me ?

JavaScript

Advertisement

Answer

name={$uname} should be name='{$uname}' since it is a string

same for SET ltime={$r_time} should be SET ltime='{$r_time}'

also VARCHAR cannot be > 255

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement