Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

get array value in php

<?php
$rec = 3;
$SHARE_TYPES = array(0=>"SMS",1=>"Facebook",2=>"Twitter",3=>"CopyNLPURL");
print $SHARE_TYPES[$rec];
?>
Source by onecompiler.com #
 
PREVIOUS NEXT
Tagged: #array #php
ADD COMMENT
Topic
Name
8+3 =