Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php use variable as object key

$nid_property = 'my_nid';
$nid = $row->{$nid_property};
Source by drupalize.me #
 
PREVIOUS NEXT
Tagged: #php #variable #object #key
ADD COMMENT
Topic
Name
4+7 =