Guest User

Untitled

a guest
Oct 17th, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.17 KB | None | 0 0
  1. <?php
  2.  
  3. $array=array("a1", "a2");
  4. $a1=5
  5. echo $array[0]; //how to make it return a variable? since its returning string here. need the result to be $a1 and not "a1"
  6. ?>
Add Comment
Please, Sign In to add comment