Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //connessione database
- if(mysql_num_rows($risultato_api_admin) > 0) {
- while($row=mysql_fetch_row($risultato_api_admin)){
- $json['informazioni'][]=$row;
- }
- mysql_close($connessione_login);
- header('Content-Type: application/json');
- echo json_encode($json);
- } else {
- print "User not found";
- //return "Polenta valsugana";
- }
- } else {
- //return "Polenta valsugana";
- print "User not found";
- }
Advertisement
Add Comment
Please, Sign In to add comment