I am editing the question that i added yesterday because i solved that issue. Now i want to know that, is there any specific way to push the data into database?  I am using sqlite database ( firefox plugin ) and eclipse for coding.   Thank you
What are Null Pointer Exceptions (java.lang.NullPointerException) and what causes them?  What methods/tools can be used to determine the cause so that you stop the exception from causing the program to terminate prematurely?
Convince grep to output all lines, not just those with matches How to create complex conditional clauses / queries? I've been reading the documentatoin on  and also studied the api description for  and  but I fail to create a $query with 3 -&gt;conditions:   select all between 0 and 100 but exclude 23, 48 and 97 select also 107, 123, 126 and 128   That's what I have tried so far:  $query-&gt;db_or()   -&gt;condition('my_field', array(107, 123, 126, 128), 'IN')   -&gt;condition(db_and()-&gt;condition('my_field', array(0, 100), 'BETWEEN')                       -&gt;condition('my_field', array(23, 48, 97), 'NOT IN'));   But I get the following error:  PHP Fatal error:  Call to undefined method SelectQuery::db_or() in [... first line]   I've tried to play around with the syntax like that:  $query-&gt;condition(-&gt;db_or()   -&gt;condition('my_field', array(107, 123, 126, 128), 'IN')   -&gt;condition(db_and()-&gt;condition('my_field', array(0, 100), 'BETWEEN')                       -&gt;condition('my_field', array(23, 48, 97), 'NOT IN')));   But again getting errors like that:  PHP Parse error:  syntax error, unexpected T_OBJECT_OPERATOR, expecting ')' in [... first line]   I also tried working with variables:  $cond01 = array('my_field', array(107, 123, 126, 128), 'IN'); $cond02 = array('my_field', array(0, 100), 'BETWEEN'); $cond03 = array('my_field', array(23, 48, 97), 'NOT IN'); $db_and = db_and(); $db_and-&gt;condition($cond02); $db_and-&gt;condition($cond03); $db_or = db_or(); $db_or-&gt;condition($cond01); $db_or-&gt;condition($db_and); $query-&gt;condition($db_or);   But this again yields drupal errors like that:  SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Array' in 'where clause'   How to create a complex conditional database query with both AND and OR statements? Pausing/stopping and starting/resuming Java TimerTask continuously? Can the Detect Magic spell detect prepared spells or spellcasters? Inspired by a recent question about discerning divine and arcane spellcasters, of like to hear the case for and against detecting spellcasters of either style with .  I think you can detect whether someone has prepared spells, based on this language:     For the duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its school of magic, if any. (emphasis mine)   Preparing spells is described as having the spell "fixed in mind" (). I'd argue that qualifies as bearing magic, and opens the door to using detect magic to identify spellcasters with currently prepared spells. What do you think? How are the measurements used by Nielsen evolving to meet new methods of content delivery and viewing? I was interested to find out that in the 1950s, Nielsen used devices in the homes of the families that were surveyed to record their viewing preferences, and only later introduced their system of using a diary to record habits:  ...in 1950...This information was collected on a device that was attached to a television that recorded what was being watched.  In 1953, the company began sending out diaries to a smaller sample of homes (“Nielsen families”) within the survey to have them record what they had watched from   So, presumably as multiple different viewers in the home were considered in the sample, the means through which the ratings were recorded changed. Given that so many people are able to record shows digitally and watch when convenient and that so many view their favorites on outlets such as iTunes, how have the Nielsen ratings systems adapted (or how does the company plan to adapt them) to capture our modern viewing preferences? While a DVR-recorded show still technically makes its original &quot;timeslot&quot; relevant to the equation, will Nielsen consider timeslot-specific data a hindrance to comparisons between those shows viewed on cable and the same show viewed on iTunes? In my program I have one array with 25 double values 0.04 When I try to sum these values in a loop I get following results:  0.0 + 0.04 = 0.04 0.04 + 0.04 = 0.08 0.08 + 0.04 = 0.12 0.12 + 0.04 = 0.16 0.16 + 0.04 = 0.2 0.2 + 0.04 = 0.24000000000000002 0.24000000000000002 + 0.04 = 0.28 0.28 + 0.04 = 0.32 0.32 + 0.04 = 0.36 0.36 + 0.04 = 0.39999999999999997 0.39999999999999997 + 0.04 = 0.43999999999999995 0.43999999999999995 + 0.04 = 0.4799999999999999 0.4799999999999999 + 0.04 = 0.5199999999999999 0.5199999999999999 + 0.04 = 0.5599999999999999 0.5599999999999999 + 0.04 = 0.6 0.6 + 0.04 = 0.64 0.64 + 0.04 = 0.68 0.68 + 0.04 = 0.7200000000000001 0.7200000000000001 + 0.04 = 0.7600000000000001 0.7600000000000001 + 0.04 = 0.8000000000000002 0.8000000000000002 + 0.04 = 0.8400000000000002 0.8400000000000002 + 0.04 = 0.8800000000000002 0.8800000000000002 + 0.04 = 0.9200000000000003 0.9200000000000003 + 0.04 = 0.9600000000000003   Why on earth could that happen?! Centering figure captions in IEEEtran I am working on a paper using the IEEEtran template in LyX.  I have run into a problem: While the contents (in this case, a table) of the figure float are centered, the caption is aligned to the left (see screenshot below). How can I center the caption as well?    This is generated by the following LyX document:    What I've tried:   Center the table (the table is centered) Center all the contents in the float (only the table is centered) Select the caption and center it (no effect)   Technical details:   LyX 2.0.5.1 Mac OS X 10.7.5 (Lion) All centering was performed by Right Click>Paragraph Settings>Align: Center Recovering files from harddrive My laptop got broken (by what it seems the graphics card burned) and it is so old that it is not worth fixing it.   I took the harddrive from it and tried to use it as external hard drive with other computer, however I cannot access all the data, ie anything that is inside my user folder (it shows it to be empty). Couldn't find anything to solve it. Where to find cross section data for $e^{-}$ + $p$ $\longrightarrow$ $p$ + $e^{-}$? Where to find cross section data for $e^{-}$ + $p$ $\longrightarrow$  $p$ + $e^{-}$ ?  does not include it. I'm studying for a midterm and need some help with proving summation     $$\sum\limits_{k=0}^n\binom{n}{k}2^k = 3^n$$   using the binomial theorem.  This is what I've been thinking so far:   In the binomial theorem, we set $x = 0$ and $y = 2$, so:  $3^n = (x+y)^n = \sum\limits_{k=0}^n\binom{n}{k}y^k$  $ = \sum\limits_{k=0}^n\binom{n}{k}2^k$  Am I getting this correct so far or completely wrong? Any help would be appreciated. Thanks. How do I quickly switch between workspaces in unity? $ d = \gcd(a,b)\Rightarrow\ \gcd(a/d,b/d) = 1$ How far into space does one have to travel to see the entire sphere of earth? Virgin Galactic will take passengers aboard SpaceShipTwo  above the surface of the earth. But from this altitude, passengers will only be able to see a certain segment of the curvature of the earth through .  How much further into space would SpaceShipTwo have to travel to give passengers a view of the entire sphere of earth through one of these windows? Good reasons to prohibit inheritance in Java? What are good reasons to prohibit inheritance in Java, for example by using final classes or classes using a single, private parameterless constructor? What are good reasons of making a method final? Retrieving Current Location and Zip using Geolocation Button Why does evolution not make life longer for humans or any other species?  Wouldn't evolution favour a long life? In preparation for the eventual deployment of full HTTPS support on Stack Exchange, and also to make the currently available "alpha" HTTPS support more usable, all links from Stack Exchange sites to other Stack Exchange sites should be .  Currently, at least the following places still feature links with explicit http: protocol prefixes:   the page footer, the "Hot Network Questions" and "Community Bulletin" modules in the sidebar,  (the site switcher menu is OK, though),   and, of course,   lots and lots of user-supplied links in post and comment content.   I've posted this feature request with the intent to provide a single central place for tracking these issues, rather than having them scattered across multiple meta threads.  If you find more places on SE where protocol-relative links should be used, please report them below.  I fully expect this request, in its full sense, to be treated as  for the time being; however, these issues do need to be fixed at some point before our HTTPS support is ready for "prime time".  Ps. Yes, the next release of  (v1.10) is going to include a general client-side fix for most of these issues.  In the mean time, the  plugin effectively provides the same functionality, and much more besides. "Specially" vs "especially" When should I use specially and when especially? apt-get update only for a specific repository When I add a PPA and I want to install some of its content, it is quite annoying to re-update all my apt list using apt-get update.  Is it instead possible to only sync the content of a given repository? Why the $(n+1)$th prime number cannot exceed the smallest prime divisor of $p_1\dotsc p_n + 1$ Let $p_n$ be the $n$th prime number in its natural order. We want to show that  $$p_{n+1} \leq p_1\dotsc p_n + 1 \tag{1}$$  I know $p_1\dotsc p_n + 1 &gt; 1$, so it has at least one prime divisor, but the text says that $p_{n+1}$ cannot exceed the smallest of these divisors, but I cannot understand why, especially when I imagine $p_{n+1}$ being very large. Although some examples confirm that this statement is true, I cannot make a connection as to why the $n+1$ prime number cannot exceed the smallest prime divisor. Once this has been shown to be true, $(1)$ immediately follows.