public JSONObject getURLSTag()
	{
		try {
			
					Class.forName(JDBC_DRIVER);
					conn=DriverManager.getConnection(DB_URL,USER,PASS);
				
					stmt=conn.createStatement();
					json=new JSONObject();
					
					
					String SQL="select * from images LIMIT 15";
					
					rs=stmt.executeQuery(SQL);
					
					
				
					if(rs.isBeforeFirst())
					{
						json.put(SUCCESS, 1);
						StringBuffer urls=new StringBuffer();
						StringBuffer ids=new StringBuffer();
						while(rs.next())
							{
								urls.append(rs.getString("url")+",");
								ids.append(rs.getString("id")+",");
							}
							json.put("URLS", urls.toString());
							json.put("IDS", ids.toString());
					}else
					{
						json.put(SUCCESS, 0);
					}
					rs.close();
		        	stmt.close();	
		        	
				} catch (ClassNotFoundException e) {
					e.printStackTrace();
				} catch (SQLException e) {
					e.printStackTrace();
				}
				finally
				{
			      try{
			        	
			            if(conn!=null)
			            conn.close();
			         }catch(SQLException se){
			            se.printStackTrace();
			         }
			    }
				
				return(json);
	}