Iterating through results help please

H i have a Mysql database that contains and ID and a rating. I would like to iterate through the results of the query and display a number of stras that relates to the rating.
JSP page code:
<%@ page contentType="text/html; charset=utf-8" errorPage="errorPage.jsp" language="java" import="java.sql.*" import="java.util.Date.*" %>
<%@ page language="java" import="java.sql.*" %>
<%!
// define variables
String portfolio_id;
int p_rating;
String conn;
%>
<%
Class.forName("com.mysql.jdbc.Driver");
//get parameter to search by
//String modelNO = request.getParameter("model_number");
// create connection string
//jdbc:mysql://host_name:port/dbname - MySQL Connector/J JDBC Driver.
conn = "jdbc:mysql://server/md_portfolio?user=user&password=password";
// pass database parameters to JDBC driver
Connection Conn = DriverManager.getConnection(conn);
// query statement
Statement SQLStatement = Conn.createStatement();
// generate query
String Query = "SELECT * FROM md_portfolio";
// get result
ResultSet SQLResult = SQLStatement.executeQuery(Query);
   while(SQLResult.next())
      portfolio_id = SQLResult.getString("portfolio_id");
       p_rating = SQLResult.getInt("p_rating");  
out.println("ID: " + portfolio_id + "<br>");
out.println("Rating: " + p_rating + "<br>");
//////////i want the stars to be out put here/////////////
     /*int value = p_rating;
     int i = 0;
        while (value[i] > 5)
            out.println(" * ");
               values[i++];
// close connection
SQLResult.close();
SQLStatement.close();
Conn.close();
%>My final plan is change the * for an actual image of a star. Please help i should know how to do this but i cant. Thanks.
Message was edited by:
JamesMorgan

Thankyou it has kinda given me what i want.
I have chanegd the code slightly to output like this for testing purposes:
out.println("ID: " + portfolio_id + "<br>");
out.println("Rating: " + p_rating + "<br>");//to be reomved once completed
while (p_rating < 5) {
            p_rating++;
             out.println("* ");
          out.println("<br>");
          out.println("--------------------<br>");which output this
ID: 1
Rating: 2
ID: 2
Rating: 2
ID: 3
Rating: 2
ID: 4
Rating: 3
--------------------However if you see it ouputs the number of stars left not the actual rating its self.
Any idea. i have changed the operators of the loop i.e. <= >= etc and has no luck. if i change it to -- not ++ then the pages just continuously fills with stars.
any ideas please.

Similar Messages

  • Iterating through results

    H i have a Mysql database that contains and ID and a rating. I would like to iterate through the results of the query and display a number of stras that relates to the rating.
    JSP page code:
    <%@ page contentType="text/html; charset=utf-8" errorPage="errorPage.jsp" language="java" import="java.sql.*" import="java.util.Date.*" %>
    <%@ page language="java" import="java.sql.*" %>
    <%!
    // define variables
    String portfolio_id;
    int p_rating;
    String conn;
    %>
    <%
    Class.forName("com.mysql.jdbc.Driver");
    //get parameter to search by
    //String modelNO = request.getParameter("model_number");
    // create connection string
    //jdbc:mysql://host_name:port/dbname - MySQL Connector/J JDBC Driver.
    conn = "jdbc:mysql://server/md_portfolio?user=user&password=password";
    // pass database parameters to JDBC driver
    Connection Conn = DriverManager.getConnection(conn);
    // query statement
    Statement SQLStatement = Conn.createStatement();
    // generate query
    String Query = "SELECT * FROM md_portfolio";
    // get result
    ResultSet SQLResult = SQLStatement.executeQuery(Query);
       while(SQLResult.next())
          portfolio_id = SQLResult.getString("portfolio_id");
           p_rating = SQLResult.getInt("p_rating");  
    out.println("ID: " + portfolio_id + "<br>");
    out.println("Rating: " + p_rating + "<br>");
    //////////i want the stars to be out put here/////////////
         /*int value = p_rating;
         int i = 0;
            while (value[i] > 5)
                out.println(" * ");
                   values[i++];
    // close connection
    SQLResult.close();
    SQLStatement.close();
    Conn.close();
    %>My final plan is change the * for an actual image of a star. Please help i should know how to do this but i cant. Thanks.
    Message was edited by:
    JamesMorgan

    My final plan is change the * for an actual image of
    a star. Please help i should know how to do this but
    i cant. Thanks.For a minute I thought you meant the * in your SQL statement. I had no idea how to advise you in that case.

  • Iterating through resultset - help

    Hello.
    I have a resultset which contains the following records:
    type=a, name=name1, dateupdate = 4/1/2005
    type=b, name=name1, dateupdate=4/2/2005
    type=c, name=name1, dateupdate=4/1/2005
    type=d, name=name1, dateupdate=4/1/2005
    type=a, name=name2, dateupdate=3/31/2004
    type=c, name=name2,dateupdate=3/31/2004
    I need to iterate through the resultset to check that all types (a,b,c,d) exists for each name.
    What's the best way to do this?
    Thanks.

    Hello.
    I have a resultset which contains the following
    records:
    type=a, name=name1, dateupdate = 4/1/2005
    type=b, name=name1, dateupdate=4/2/2005
    type=c, name=name1, dateupdate=4/1/2005
    type=d, name=name1, dateupdate=4/1/2005
    type=a, name=name2, dateupdate=3/31/2004
    type=c, name=name2,dateupdate=3/31/2004
    I need to iterate through the resultset to check that
    all types (a,b,c,d) exists for each name.
    What's the best way to do this?
    Thanks.pseudo-code:
    typeCount = 0
    prevName = null
    while (more rows)
      get next row
      if name == prevName
        ++typeCount
      else
        checkStats(prevName, typeCount)
        prevName = name
        typeCount = 1
      end-if
    end-while
    checkStats(prevName, typeCount)checkStats would check that typeCount is 4 and if it isn't, do whatever you want to do for that prevName to alert that it didn't have all 4 types. The pseudo-code also assumes that your resultset is ordered by name, and that it can't contain duplicate types or types outside the range a-d.

  • WRT300N VPN setup through hardware help please

    Hello,
    I am trying to set up a VPN from one of my offices to another.  I have a Linksys WRT300N router.  I want to do it through hardwear and not through software.  Can this be done with this specific routher?  If so can someone walk me through how to set it up?
    Thank you very much
    Joseph

    If you don't want to use a software for VPN connection then you'll need VPN routers at both the ends like RVO42, WRV4400N etc.

  • Etrecheck results help please

    EtreCheck version: 2.0.11 (98)
    Report generated 10 November 2014 14:25:23 GMT
    Hardware Information: ℹ️
      MacBook Air (13-inch, Mid 2011) (Verified)
      MacBook Air - model: MacBookAir4,2
      1 1.7 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Not upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en0: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 6 days 10:1:29
    Disk Information: ℹ️
      APPLE SSD SM256C disk0 : (251 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Untitled (disk1) /  [Startup]: 249.78 GB (134.38 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 250.14 GB Online
    USB Information: ℹ️
      Apple Inc. FaceTime Camera (Built-in)
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Internal Memory Card Reader
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.ximeta.driver.NDASFamily (226) Support
      [not loaded] com.ximeta.nke.netlpx (209) Support
    Startup Items: ℹ️
      MobileBrServ: Path: /Library/StartupItems/MobileBrServ
      XiMetaNetLpx: Path: /Library/StartupItems/XiMetaNetLpx
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Agents: ℹ️
      [failed] com.apple.coreservices.appleid.authentication.plist
      [failed] com.apple.icloud.fmfd.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.ctkd.plist
      [failed] com.apple.icloud.findmydeviced.plist
      [failed] com.apple.Kerberos.digest-service.plist
      [failed] com.apple.nehelper.plist
      [failed] com.apple.wdhelper.plist
    Launch Agents: ℹ️
      [invalid?] com.adobe.AAM.Updater-1.0.plist Support
    Launch Daemons: ℹ️
      [invalid?] com.adobe.SwitchBoard.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [running] com.ximeta.NDASService.plist Support
    User Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist Support
    User Login Items: ℹ️
      iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Dropbox Application (/Applications/Dropbox.app)
      Google+ Auto Backup UNKNOWN (missing value)
      Google Chrome ApplicationHidden (/Applications/Google Chrome.app)
      Sony Ericsson Bridge Helper ApplicationHidden (/Users/[redacted]/Library/Application Support/Sony Ericsson Bridge for Mac/Sony Ericsson Bridge Helper.app)
      Sony Ericsson Bridge Helper ApplicationHidden (/Users/[redacted]/Library/Application Support/Sony Ericsson Bridge for Mac/Sony Ericsson Bridge Helper.app)
    Internet Plug-ins: ℹ️
      SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 Support
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
      Default Browser: Version: 600 - SDK 10.10
    User Internet Plug-ins: ℹ️
      Picasa: Version: 1.0 - SDK 10.4 Support
    Safari Extensions: ℹ️
      OpenIE
    3rd Party Preference Panes: ℹ️
      None
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          6% WindowServer
          2% syncdefaultsd
          0% fontd
          0% launchservicesd
          0% MDCrashReportTool
    Top Processes by Memory: ℹ️
      168 MB Mail
      163 MB softwareupdated
      150 MB com.apple.WebKit.WebContent
      120 MB Google Chrome
      90 MB Finder
    Virtual Memory Information: ℹ️
      68 MB Free RAM
      1.28 GB Active RAM
      1.23 GB Inactive RAM
      1.15 GB Wired RAM
      79.32 GB Page-ins
      2.31 GB Page-outs

    EtreCheck version: 2.0.11 (98)
    Report generated 10 November 2014 14:25:23 GMT
    Hardware Information: ℹ️
      MacBook Air (13-inch, Mid 2011) (Verified)
      MacBook Air - model: MacBookAir4,2
      1 1.7 GHz Intel Core i5 CPU: 2-core
      4 GB RAM Not upgradeable
      BANK 0/DIMM0
      2 GB DDR3 1333 MHz ok
      BANK 1/DIMM0
      2 GB DDR3 1333 MHz ok
      Bluetooth: Old - Handoff/Airdrop2 not supported
      Wireless:  en0: 802.11 a/b/g/n
    Video Information: ℹ️
      Intel HD Graphics 3000 - VRAM: 384 MB
      Color LCD 1440 x 900
    System Software: ℹ️
      OS X 10.10 (14A389) - Uptime: 6 days 10:1:29
    Disk Information: ℹ️
      APPLE SSD SM256C disk0 : (251 GB)
      S.M.A.R.T. Status: Verified
      EFI (disk0s1) <not mounted> : 210 MB
      Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
      Untitled (disk1) /  [Startup]: 249.78 GB (134.38 GB free)
      Encrypted AES-XTS Unlocked
      Core Storage: disk0s2 250.14 GB Online
    USB Information: ℹ️
      Apple Inc. FaceTime Camera (Built-in)
      Apple Inc. Apple Internal Keyboard / Trackpad
      Apple Inc. BRCM20702 Hub
      Apple Inc. Bluetooth USB Host Controller
      Apple Internal Memory Card Reader
    Thunderbolt Information: ℹ️
      Apple Inc. thunderbolt_bus
    Gatekeeper: ℹ️
      Mac App Store and identified developers
    Kernel Extensions: ℹ️
      /System/Library/Extensions
      [not loaded] com.ximeta.driver.NDASFamily (226) Support
      [not loaded] com.ximeta.nke.netlpx (209) Support
    Startup Items: ℹ️
      MobileBrServ: Path: /Library/StartupItems/MobileBrServ
      XiMetaNetLpx: Path: /Library/StartupItems/XiMetaNetLpx
      Startup items are obsolete and will not work in future versions of OS X
    Problem System Launch Agents: ℹ️
      [failed] com.apple.coreservices.appleid.authentication.plist
      [failed] com.apple.icloud.fmfd.plist
    Problem System Launch Daemons: ℹ️
      [failed] com.apple.ctkd.plist
      [failed] com.apple.icloud.findmydeviced.plist
      [failed] com.apple.Kerberos.digest-service.plist
      [failed] com.apple.nehelper.plist
      [failed] com.apple.wdhelper.plist
    Launch Agents: ℹ️
      [invalid?] com.adobe.AAM.Updater-1.0.plist Support
    Launch Daemons: ℹ️
      [invalid?] com.adobe.SwitchBoard.plist Support
      [loaded] com.microsoft.office.licensing.helper.plist Support
      [running] com.ximeta.NDASService.plist Support
    User Launch Agents: ℹ️
      [loaded] com.google.keystone.agent.plist Support
    User Login Items: ℹ️
      iTunesHelper ApplicationHidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
      Dropbox Application (/Applications/Dropbox.app)
      Google+ Auto Backup UNKNOWN (missing value)
      Google Chrome ApplicationHidden (/Applications/Google Chrome.app)
      Sony Ericsson Bridge Helper ApplicationHidden (/Users/[redacted]/Library/Application Support/Sony Ericsson Bridge for Mac/Sony Ericsson Bridge Helper.app)
      Sony Ericsson Bridge Helper ApplicationHidden (/Users/[redacted]/Library/Application Support/Sony Ericsson Bridge for Mac/Sony Ericsson Bridge Helper.app)
    Internet Plug-ins: ℹ️
      SharePointBrowserPlugin: Version: 14.3.9 - SDK 10.6 Support
      Silverlight: Version: 5.1.30514.0 - SDK 10.6 Support
      QuickTime Plugin: Version: 7.7.3
      JavaAppletPlugin: Version: 15.0.0 - SDK 10.10 Check version
      Default Browser: Version: 600 - SDK 10.10
    User Internet Plug-ins: ℹ️
      Picasa: Version: 1.0 - SDK 10.4 Support
    Safari Extensions: ℹ️
      OpenIE
    3rd Party Preference Panes: ℹ️
      None
    Time Machine: ℹ️
      Time Machine not configured!
    Top Processes by CPU: ℹ️
          6% WindowServer
          2% syncdefaultsd
          0% fontd
          0% launchservicesd
          0% MDCrashReportTool
    Top Processes by Memory: ℹ️
      168 MB Mail
      163 MB softwareupdated
      150 MB com.apple.WebKit.WebContent
      120 MB Google Chrome
      90 MB Finder
    Virtual Memory Information: ℹ️
      68 MB Free RAM
      1.28 GB Active RAM
      1.23 GB Inactive RAM
      1.15 GB Wired RAM
      79.32 GB Page-ins
      2.31 GB Page-outs

  • Using command prompt through java, help please!

    Hi,
    What I am trying to do is find all the processes running onthe computer using java. Normally, I would do this (without java) by opening a command prompt window, typing in tasklist and see all the running processes. I have tried to to do the same thing using java, but so far have been unsucsessful. Here is my code:
    import java.io.*;
    public class Main {
            static DataOutputStream output;
            static DataInputStream input;
            static String app="cmd.exe";
            static String command="tasklist";
            static String message="";
            public static void main(String args[])throws Exception{
            Process process = Runtime.getRuntime().exec(app);
            output=new DataOutputStream(process.getOutputStream());
            input=new DataInputStream(process.getInputStream());
            output.write(command.getBytes());
            byte[] b=new byte[input.available()];
            input.readFully(b);
            message=new String(b);
            System.out.println("Message: "+message);
            System.out.println(!message.equals(""));
            System.out.println(message!=null);
            System.out.println("Finished Program");
    }And this program prints the output (with no exceptions):
    Message:
    false
    true
    Finished Program
    I appreciate any help in fixing my program...

    DevRocks_Java wrote:
    static String app="cmd.exe";
    static String command="tasklist";
    Process process = Runtime.getRuntime().exec(app);
    output=new DataOutputStream(process.getOutputStream());
    input=new DataInputStream(process.getInputStream());What do you expect it to do? You are only telling it to open a console window, nothing more.
    if you can type tasklist at the run option, then you should be able to just substitute command in for app in your exec.

  • DTU Access Through Firewalls - Help Please

    Hi Everyone,
    I'm trying to connect some DTUs between two customer sites where they have 2 FOGs configured. I hope to use AMGH eventually but at the moment I'm just testing connectivity between the sites. I'm told that the firewalls between the sites are permitting all incoming TCP and UDP traffic to each site.
    To test this I have been ssh'ing from site A to site B's SR servers and can also get to the web interface of both SR servers at site B from site A. I realise this doesn't really test the UDP side of things.
    So here's the problem: The DTU at site A has the GUI firmware on and I've configured it to look for the primary SR server at site B. When I switch the DTU on it correctly obtains an IP address from DHCP at site A and then proceeds to try and talk to the SR server at site B. It seems to do this correctly and the SRSS web interface at site B shows a pseudo session has been created, however, the DTU at site A sits with the OSD 26B error (waiting for x session I believe).
    Apart from the firewalls being incorrectly configured is there anything else I need to do do on the SR Servers to permit the DTUs getting x sessions?
    Many thanks.
    Chris
    Edited by: mac_chris on Dec 30, 2009 9:08 AM

    UPDATE:
    Following some interesting conversations with the third party looking after the network it looks like this was a firewall configuration issue. It was indeed the case that no UDP traffic was able to get from site B to site A which is why the DTUs at site A pointing at site B weren't showing a session.
    DTUs at site A can now get sessions from site B so all is well.
    Edited by: mac_chris on Jan 7, 2010 2:40 AM

  • Broken Bonjour with Canon MF4350d after 10.6 upgrade - Help Please.

    I have been using a Canon 4350d with no problems with 10.5.8 - including Printer Sharing (Bonjour). Now, after updating to 10.6 (now 10.6.2) I can still print fine, but I have lost all Printer Sharing. All settings appear to be right, and my other macs appear to be printing through the one connected via USB to the printer, but it never goes through. HELP Please. Thank you.

    According to the UFR2 User Guide on page 2-8, the driver can be removed from the Mac by trashing the following folders. Note that you should delete the print queue first, by opening Print & Fax, selecting the MF model in the Printers list and pressing the minus button.
    System Volume > Library > Printers > Canon > UFR2
    System Volume > Library > Launch Agents > jp.co.canon.UFR2.BG.plist
    System Volume > Library > Printers > PPDs > Contents > Resources > en.lproj > CNTD**Z*2.ppd.gz
    (where * indicates the printer model and 2 indicates the language of driver used)
    With these files removed you can then empty the trash, although you may have to open Activity Monitor and stop the 'UFR II Backgrounder' service before you are able to remove all the files from the trash.
    With the v2.10 driver removed you are ready to add another driver. However you need to be aware that the v1.80 driver cannot be used on 10.6. If you were using it previously then it would suggest that the 10.6 Mac was an upgrade from 10.5 rather than a clean 10.6 install. On a clean 10.6 Mac, then v1.80 driver will not operate correctly.
    What you may be able to do is have the v1.80 driver installed on a Mac running Leopard and shared. You may then be able to use the v2.10 driver on the Snow Leopard Mac's to print to the Leopard share using the v1.80 driver. Note that I haven't tried this so I cannot say if this will work for you. Personally I always ensure I get a printer with Ethernet or wireless support so that I can avoid printer sharing...

  • I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it

    I downloaded an upgrade to my adobe reader today, and ever since my search engine has switched to yahoo and wont change back to google. I have a macbook pro, help please? Does anyone know how I can change this back? I have tried through my settings but it doesnt work

    Hi Timia,
    If you are using Safari as a web browser :-
    Open Safari, go to Safari menu > Preferences > General, and put Google as the homepage. Then, choose Google as your default search engine.
    If you are using Google Chrome as the web browser :-
      Open Google Chrome.
      In the top right corner of the page, click the Chrome menu Chrome menu > Settings.
      In the "Search" section, select Google from the drop-down menu.
    Let me know if you still experience any issue.
    Regards,
    Aadesh

  • I keep getting an error message when I try to log into to ExportPDF through my Adobe Reader. "Network error occurred while attempting to sign in". Can anyone help, please?

    I keep getting an error message when I try to log into to ExportPDF through my Adobe Reader. "Network error occurred while attempting to sign in". Can anyone help, please?

    Hi Simon,
    I'm sorry to hear that you're having trouble logging in to ExportPDF via Reader. I've checked your account, and all is well there.
    For starters, please make sure that you have the most current version of Reader installed by choosing Help > Check for Updates.
    If you're still having trouble logging in via Reader, please try logging in to the web interface at https://cloud.acrobat.com.
    Please let us know how it goes.
    Best,
    Sara

  • I can no longer access Bejeweled Blitz through my facebook account.  I get the message that says, "your browser sent a request that this server could not understand. Size of a request header field exceeds server limit".  Help please.

    I can no longer access Bejeweled Blitz through facebook.  I get the message, "your browser sent a request that this server could not understand. Size of a request header field exceeds server limit". I can access Bejeweled through FB using my husband's log in so to me that suggests the problem is with my log in. Help please.

    Contact FB or use another browser. 

  • Itunes doesn't list all of my recent podcasts. My show is Black Tribbles and it only shows episodes through March 2013, however we do at least two shows a week and they aren't listed. The feed works because the show update to my computer. Help please.

    Itunes doesn't list all of my recent podcasts. My show is Black Tribbles and it only shows episodes through March 2013, however we do at least two shows a week and they aren't listed. The feed works because the show update to my computer. Help please.

    Your feed is at http://blacktribbles.podomatic.com/rss2.xml
    When subscribed to in iTunes the recent episodes show, but the Store hasn't updated for some time.
    There appears to be an issue with the feed. In the episode 'WRESTLING MARCH MADNESS: Final Bracket & Championship' of 31st March you will find in the 'description' tag the following line:
    4. KURT ANGLE
    At the end of this line is an invisible character which seems to be wrecking the feed - although it works OK when suscribing in iTunes it won't load in a browser (and I also found the feed very slow to load, which won't help matters with the Store)
    This sort of thing usually happens when you paste text in from a word processing application and manage to include one of the invisible control characters. I don't know how easy it will be do do it in Podomatic but you should delete that entire line and retype it to remove this charter.
    You should keep an eye on the time it takes the feed to be accessed - if there is a long enough delay (and it was quite some seconds when I tried) the Store may well timeout and fail to read it. At the moment it's showing a cached version from the last time it was able to read it.

  • HT4972 i am not getting notification on most of my apps, e.g twitter and facebook...except i go to the app and refreshed manually. its an iphone 4 and running on ios5...i have gone through everything and its still the same..help please........I seem to be

    i am not getting notification on most of my apps, e.g twitter and facebook...except i go to the app and refreshed manually. its an iphone 4 and running on ios5...i have gone through everything and its still the same..help please........
    I seem to be having the same problem on my brand new iPhone 4S. Everything was working fine on the phone until I updated to iOS 5.1.1, but now I no longer receive push notifications for the native Mail app, Instagram, or the Facebook app. I still seem to be receiving SMS texts and iMessages via push, but the aforementioned apps need to be opened before I can receive missed notifications (having them open in the background seems to make no difference).
    Thanks for any help that you may provide!

    did you try notifications under settings? You can customize it as per your requirement, for each application.
    check this out: http://www.gottabemobile.com/2011/10/12/ios-5-how-to-use-notification-center/ or http://reviews.cnet.com/8301-19512_7-20120625-233/ios-5-notifications-a-deeper-l ook/

  • Im having problem setting up my Hotmail account, it used to work fine until few days ago. It says ive entered an incorrect username or password which i can sign in fine with them details if i use laptop or safari through the phone, Please help..

    Im having problem setting up my Hotmail account, it used to work fine until few days ago. It says ive entered an incorrect username or password which i can sign in fine with them details if i use laptop or safari through the phone, Please help..

    I Sugges you to log into your hotmail acc and go to security and password change bit, then you will see two-step verification.. turn that off and you will be able to set it up on your iPhone/iPad or even Mac.
    Give your phone a restart before trying to set it up. Thanks

  • I manually deleted my iphone photos through windows explorer now it wont sync new music or backup. any help please?

    i manually deleted my iphone photos through windows explorer now it wont sync new music or backup. any help please?

    If those photos were part of the camera roll, they were part of the backup as well and you can restore from the latest backup you made on the old computer. After that transfer the photos to the new PC, follow this article: iOS: Importing personal photos and videos from iOS devices to your computer
    Then sync again to the new one, which will erase the phone again.
    You can also try to copy the backup folder from the old computer to the new one and see if the old backups get recognized, check this article to find the location on your PC:
    Create and delete iPhone, iPad, and iPod touch backups in iTunes
    If the photos were not taken with the phone, your data is gone, photos you sync from iTunes to the phone are not included in the backup.

Maybe you are looking for