Skip to content

Instantly share code, notes, and snippets.

@smottt
Created May 26, 2016 08:59
Show Gist options
  • Save smottt/4c8168c4f690e5e5aa553d1853a342d2 to your computer and use it in GitHub Desktop.
Save smottt/4c8168c4f690e5e5aa553d1853a342d2 to your computer and use it in GitHub Desktop.
<?php $i=0; foreach($result as $rt_val) { if(!$i) echo $rt_val['name']; $i++; }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment