Can anyone tell me if this is correct ?

Can anyone tell me if this is correct ?
String query = "SELECT * FROM " + tablename + " where RECP_MOBILE = '" + mobile + "'" + "and USER_ID = '" + id + "'" ;
( mobile and id are values from another place )
I tried to execute this, but as long as the user_id is right, it will return me the values even though the mobile is wrong.
Thank you.

I think you should have a space before "and USER_ID"; I'm surprised it even runs without that. Otherwise, it should be okay as long as mobile and id don't contain any quote characters.

Similar Messages

  • My imac will not load after I enter my password. The only thing I get is the arrow from my mouse on top of a blank white screen.  Can anyone tell me what this is?  I've restarted and turned off several times.  I left it on in this state for 8 hours and

    My imac will not load after I enter my password. The only thing I get is the arrow from my mouse on top of a blank white screen.  Can anyone tell me what this is?  I've restarted and turned off several times.  I left it on in this state for 8 hours hoping it would reload and work.  No luck.

    Hello KCC4ME,
    You may try booting your Mac in Safe Boot, as it can resolve many issues that may prevent a successful login.
    OS X: What is Safe Boot, Safe Mode?
    http://support.apple.com/kb/HT1564
    If a Safe Boot allows you to successfully log in, you may have issues with one or more login itmes (while the following article is labelled as a Mavericks article, it is viable for earlier versions of the Mac OS, as well).
    OS X Mavericks: If you think you have incompatible login items
    http://support.apple.com/kb/PH14201
    Cheers,
    Allen

  • Can anyone tell me how this link is used.  I noted it on my iPad.

    Can anyone tell me how this link is used.  I noted it on my iPad. mobi-service7.***/getfile.php?dtype=dle
    <Link Edited By Host>

    This is a known malware site:
    https://www.virustotal.com/en/url/16ffcd2699ffe17f14aefd48d09fa6789ac7bef1e981d1 4bc15b0b4241f078ce/analysis/1401447687/
    http://google.com/safebrowsing/diagnostic?tpl=safari&site=mobi-service7.com
    The malware on that site cannot affect your iPad. In fact, there is no known malware capable of infecting an iPad, unless it has been jailbroken (ie, hacked to allow apps from outside the App Store). The question is, where did you come across this site?

  • Can anyone tell me what this Time Machine error means? The network backup disk does not support the required AFP features?

    Can anyone tell me what this Time Machine error means? The network backup disk does not support the required AFP features?

    AFP - Apple Filing Protocol
    The Network Attached Storage (NAS) that you are pointing Time Machine at does not have the features needed by Time Machine in order to do its Thing.  Time Machine needs some specific features that are not typically available on generic networked storage devices.
    There are manufactures that support the Mac OS X HFS+ file system formats and implement all the needed AFP protocol packets necessary so that they can be used with Time Machine, but apparently yours does not.
    If you are not using a networked mounted volume for Time Machine, then more information will be needed about your Time Machine setup.

  • When I switch libraries I lose the majority of the material in my main library and can only restore it by repairing the database. Can anyone tell me why this is happening and how I can resolve the problem? Thanks

    When I switch libraries I "lose" the majority of the material in my main library (or at least I can't see it) and can only restore it by repairing the database. Can anyone tell me why this is happening and how I can resolve the problem? Thanks

    I seem to have found a way around it. Rather than switching libraries by going into files/switch libraries I used Aperture Preferences to change them. I've done it a couple of times and it appears to work OK.
    That is an interesting finding. It suggests, that your "Preferences" file "com.apple.Aperture.plist" may have been corrupted and you fixed it this way. Can you now switch between libraries the usual way? If not, I'd try to remove the "preferences" file from the user library to the Desktop and relaunch Aperture.
    The Aperture 3: Troubleshooting Basics:http://support.apple.com/kb/HT3805
    describe how to remove the user preferences.

  • Hi can anyone tell me if this is normal, my computer has been extracting a abode download all night?

    Hi can anyone tell me if this is normal, my computer has been extracting an adobe download all night???? and it has cost me $60 in pre paid internet already, i hope it is going to work!!!

    Where did you choose to download the install files too?

  • Can anyone tell me what this error means?

    Hi All
    The following error was encountered by a printer who has opened a supplied PDF in Acrobat, Saved it as a postscript and then run it through distiller server 6. Can anyone tell me what this error means and what sort of things can cause it?
    %%[ Error: syntaxerror; OffendingCommand: ! ]%%
    Stack:
    /PaintProc
    5.32031
    /YStep
    258.404
    /XStep
    [257.404 5.32031 258.404 5.32031]
    /BBox
    1
    /TilingType
    1
    /PaintType
    1
    /PatternType
    -mark-
    -mark-
    -mark-
    -save-
    %%[ Flushing: rest of job (to end-of-file) will be ignored ]%%
    %%[ Warning: PostScript error. No PDF file produced. ] %%

    Something to do with software from wireless.umass.edu.

  • Can anyone tell me why this error only occur in Tomcat-4.0.2 ??

    When I try to execute my jsp page, Tomcat printed out this error.
    This error has never occurred in Tomcat-3.2.1 and Tomcat-3.3a.
    java.io.IOException: Stream closed
         at org.apache.jasper.runtime.JspWriterImpl.ensureOpen(JspWriterImpl.java:242)
         at org.apache.jasper.runtime.JspWriterImpl.clearBuffer(JspWriterImpl.java:190)
         at org.apache.jsp.admin_0005flogin$jsp._jspService(admin_0005flogin$jsp.java:988)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:202)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
         at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
         at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
         at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
         at java.lang.Thread.run(Thread.java:536)
    Another thing is, I'm trying to display chinese characters using jsp page. When I use Tomcat-3.2.1, i can view the chinese characters correctly, but when I converted to Tomcat-3.3a (due to the newer version of JDBC API available in Tomcat-3.3a), it don't seems to recognize the html META Header that I use to encode the jsp page.
    Is there anyway if making Tomcat-3.3a read the header or what ???
    Can anyone enlighten me on this ??
    I really need to get the solution or the reason ASAP !!
    Thank you in advance.

    Hi,
    I dont know whether you are still getting the error. This error seem to be result of closing the output stream accidently or manually for some reason. so look out for 'out.close' or other 'out' operations which deals either with flushing or closing the stream. By removing the statement I solved this problem.
    if u have any questions: contact me on [email protected]
    Thanks.

  • HT1766 I can't get my iPod to "backup" to iCloud. It started and told me the estimated time remaining. When I came back, it said it couldn't be completed because the verification request timed out. Can anyone tell me why this keeps happening?

    I've tried several times to get it to Backup to iCloud. But every time I do, it will start and say it is "backing up". Then after a few minutes, it tells me that the backup could not be completed because the verification timed out. Can anyone tell me how to fix this?

    I suggest that you Contact Customer Care - click on the Still need help? button to chat with an agent.

  • Can anyone tell me what this string is in the server permissions?

    Can anyone tell me what the character sting is third from the top?
    This is taken from the server app < select the server < storage < then edit permissions.
    I feel like this is something simple, but all of my searches have turned up nothing.
    Any insight would be greatly appreciated,
    -Tom

    I have recently deleted a user.
    Can I remove them from the ACL with no effect to the system?
    Is there a more efficient way to do that rather then by each individual folder and file?
    Thank you,
    -Tom

  • Can anyone tell me about this Thinkstati​on?

    Can anyone tell me what model this is?
    http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item​=380056744393&fromMakeTrack=true 
    I am looking for a gaming machine and I prefer the P4 HT than any of these new dual and quad core processors.  Does anyone know if I would be able to put in a modern high end GPU and upgrade the ram?
    Thanks for any replies.

    that's a thinkcentre, not a thinkstation.   search ibm.com for "8113-24U" for exact machine specs.
    ThinkStation C20
    ThinkPad X1C · X220 · X60T · s30 · 600

  • TS3354 when i first started using my moniter i never received any error messages about problems with HDCP issues. now all of a sudden i do. i am connected through hdmi. can anyone tell me if this has happened to them?

    When I first started using my monitar, I never got this error message telling me that i have HDCP issues. My HD content played without a problem. out of the blue now i can't play hd on my computer because it doesn't support HDCP. Can anyone tell me what to do?

    When I first started using my monitar, I never got this error message telling me that i have HDCP issues. My HD content played without a problem. out of the blue now i can't play hd on my computer because it doesn't support HDCP. Can anyone tell me what to do?

  • I updated to Firefox 4 and there's no orange Firefox button and the Menu Bar is still there (File, Edit, View, etc.). Can anyone tell me why this is happening?

    As the question states, I tried updating from Firefox 3 to Firefox 4 two different ways and though I see a difference, it's definitely not all of Firefox 4. I updated with the auto update installer and downloaded the exe and installed and it's still not right. I don't have the new Firefox style or the Infamous Orange Firefox button. My Menu Bar (File, Edit, View, Etc...) is still there as well. The only thing that has really changed is the tabs going above the URL bar. Can anyone tell me how to fix this?

    To get the new style UI you need to hide the menu bar. To do that in the View menu select Toolbars, then click on the "Menu Bar" entry.
    If you need access to the menus you can press either Alt or F10 to temporarily display them.

  • Can anyone tell me what this javascript is

    The following  script is at the top of  the code for my index page, can anyone tell me what it is for and can I deletye it.
    <script type="text/JavaScript">
        <!--
        function MM_preloadImages() { //v3.0
        var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
        function MM_findObj(n, d) { //v4.01
        var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
        if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
        for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
        if(!x && d.getElementById) x=d.getElementById(n); return x;
        function MM_nbGroup(event, grpName) { //v6.0
        var i,img,nbArr,args=MM_nbGroup.arguments;
        if (event == "init" && args.length > 2) {
        if ((img = MM_findObj(args[2])) != null && !img.MM_init) {
        img.MM_init = true; img.MM_up = args[3]; img.MM_dn = img.src;
        if ((nbArr = document[grpName]) == null) nbArr = document[grpName] = new Array();
        nbArr[nbArr.length] = img;
        for (i=4; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = args[i+1];
        nbArr[nbArr.length] = img;
        } else if (event == "over") {
        document.MM_nbOver = nbArr = new Array();
        for (i=1; i < args.length-1; i+=3) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = (img.MM_dn && args[i+2]) ? args[i+2] : ((args[i+1])? args[i+1] : img.MM_up);
        nbArr[nbArr.length] = img;
        } else if (event == "out" ) {
        for (i=0; i < document.MM_nbOver.length; i++) {
        img = document.MM_nbOver[i]; img.src = (img.MM_dn) ? img.MM_dn : img.MM_up; }
        } else if (event == "down") {
        nbArr = document[grpName];
        if (nbArr)
        for (i=0; i < nbArr.length; i++) { img=nbArr[i]; img.src = img.MM_up; img.MM_dn = 0; }
        document[grpName] = nbArr = new Array();
        for (i=2; i < args.length-1; i+=2) if ((img = MM_findObj(args[i])) != null) {
        if (!img.MM_up) img.MM_up = img.src;
        img.src = img.MM_dn = (args[i+1])? args[i+1] : img.MM_up;
        nbArr[nbArr.length] = img;
        //-->
        </script>

    It's standard boilerplate javascript inserted by Dreamweaver when you add behaviors to your page. The block you posted contains three function definitions. The first covers preloading images (function MM_preloadImages), the second is what you need when an event in one place affects something in another (function MM_findOb) place on your page, and the third is for managing a group of checkboxes (function MM_nbGroup) I think!
    To say whether you could delete them or not, we would have to see the rest of your page to see if you are using any behaviors that might require those functions.

  • Can anyone tell me what this Error Code is??

    I just recently started having my computer go to sleep on me every so many seconds out of nowhere and i have tried everything i know of to fix it. I ran the apple hardware test and got this error..
    4mot/1/400000002: CPU-0
    can anybody tell me what this means?????

    Just FYI, a 4MOT error code indicates a problem with one of the fans. My guess is that the CPU fan has failed and the CPU is overheating. A trip to the Apple Store is definitely called for.
    Regards.

Maybe you are looking for

  • Help needed from Adobe for unauthorised activity on my account

    Help please! I bought some education software from an Adobe supplier on the recommendation of my school. It turns out (without me knowing or being told when I placed the order) that I was being sold old software, at what he now claims was cost price

  • Multiple iMac(s) - iMac (4)

    My iMac seems to have several versions residing on it.  For example, under my system preferences > Sharing, it says "iMac (4)" in the "Computer Name" field.  File Sharing is "on" and beneath that it says the following: "Other users can access shared

  • Inserting Rows in SQL

    Hello All, I'll try to insert 100 rows at through SQL command at a time, is it possible ? Data should be in following manner : Emp_ID, Emp_Name, Emp_Address, EMP_Info How should I do this? Thanx in advance. San

  • Question about dataset in demo photo Gallery V.2

    So I'm going to try and be as specific as possible. I'm trying to use the code on the Spry demo page to create a gallery and I'm stuck on how to get it to load my .xml files instead of the china, egypt, and paris files. The only reference I see to a

  • GRC AC10 Mitigation Control Temporary Tables

    Hi everyone, I'm trying to find the table where GRC stores the organizational unit for a new mitigation control before the request is approved. As I could see, after approval (when the control is created) they are moved to HRP1000, 1001, etc. I've al