Answers for "php if json key exists"

PHP
0

how to check if key is present in json in php

if( isset( $mydata['user_id'] ) ){
   // do something
}
Posted by: Guest on September-24-2020

Browse Popular Code Answers by Language