I don't know what do you wanna to do? but if you wanna store record as "json" in your DB , Yes . but usually it's not like it. we do like this $User = []; $User = Select * from "Users" where id = 1; $Name = $User->name; $NameName = $User->username; $Age = $User->age; return json_encode($User); note : it just a sample and code doesn't actually works
Обсуждают сегодня