Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2014
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. $id=array();
  2. for($i=0;$i<$nmr;$i++){
  3. $row = mysql_fetch_assoc($sql);
  4. $id[$i]=$row['Tipo'];
  5. }
  6. echo json_encode($id);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement