I am getting this error:  Warning: oci_parse(): ORA-01756: quoted string not properly terminated in &lt;DIRECTORY&gt; on line 200 Warning: oci_execute() expects parameter 1 to be resource, boolean given in &lt;DIRECTORY&gt; on line 201  In reference to this code (line 200/201 marked):          $testSQL =  "insert into INTOXDM.JOINT_USE (RECEIVED,                  REGION,                  PERMIT,                  CUSTOMER,                  TO_BUSINESS,                  TO_PERMIT,                  POWER_ADDRESS,                  COMPANY,                  MAPSECTION,                  POLES,                  FEE,                  INVOICE,                  DATE_LARRY,                  DAYS_LARRY,                  PI_PON,                  DATE_PD,                  DAYS_LARRY_PD,                  RETURNED,                  DAYS_PD,                  ERRORS_PD,                  ERRORS_MULTIPLE,                  DATE_MAKEREADY_JU,                  DATE_MAKEREADY_COMPLETE,                  DAYS_MAKEREADY,                  DAYS_JU_PROCES,                  APPROVAL,                  DAYS_PERMIT_IN_JU,                  DATE_PLANNING,                  DAYS_OPEN,                  DATE_ROUTED,                  DAYS_TOTAL,                  COMMENTS) values (                 '$RECEIVED',                  '$REGION',                  '$PERMIT',                  '$CUSTOMER',                  '$TO_BUSINESS',                  '$TO_PERMIT',                  '$POWER_ADDRESS',                  '$COMPANY',                  '$MAPSECTION',                  '$POLES',                  '$FEES',                  '$INVOICE',                  '$DATE_LARRY',                  '$DAYS_LARRY',                  '$PI_PON',                  '$DATE_PD',                  '$DAYS_LARRY_PD',                  '$RETURNED',                  '$DAYS_PD',                  '$ERRORS_PD',                  '$ERRORS_MULTIPLE',                  '$DATE_MAKEREADY_JU',                  '$DATE_MAKEREADY_COMPLETE',                  '$DAYS_MAKEREADY',                  '$DAYS_JU_PROCESS',                  '$APPROVAL',                  '$DAYS_PERMIT_IN_JU',                  '$DATE_PLANNING',                  '$DAYS_OPEN',                  '$DATE_ROUTED',                  '$DAYS_TOTAL',                  '$COMMENTS')";         $testParse = oci_parse($objConnect, $testSQL); //LINE 200          $testExecute = oci_execute($testParse); } } //LINE 201   However, I cannot find what I am missing. I have been at it for an hour, it is very frustrating. Are there tools that you can post source into that assist in finding these errors?
If user input is inserted without modification into an SQL query, then the application becomes vulnerable to , like in the following example:  $unsafe_variable = $_POST['user_input'];   mysql_query("INSERT INTO `table` (`column`) VALUES ('$unsafe_variable')");   That's because the user can input something like value'); DROP TABLE table;--, and the query becomes:  INSERT INTO `table` (`column`) VALUES('value'); DROP TABLE table;--')   What can be done to prevent this from happening?
Least-action classical electrodynamics without potentials Is it possible to formulate classical electrodynamics (in the sense of deriving Maxwell's equations) from a least-action principle, without the use of potentials? That is, is there a lagrangian which depends only on the electric and magnetic fields and which will have Maxwell's equations as its Euler-Lagrange equations? How do I clone a subdirectory only of a Git repository? I have my Git repository which, at the root, has two sub directories:  /finisht /static   When this was in , /finisht was checked out in one place, while /static was checked out elsewhere, like so:  svn co svn+ssh://admin@domain.com/home/admin/repos/finisht/static static   Is there a way to do this with Git? What is the best class or classes in 3.5e to build a character that uses both a sword and either arcane magic or psionics which can be fluffed as arcane magic and focuses on fighting powerful individual creatures?    I have a foundness for those that can sling spell along with blade, like Dak'kon from Planescape: Torment.  So, given that, how do I make the best Gishy character I can?  Specifically, the group is looking for a character focused on delivering high damage or other debilitating effects to an individual target.  There is no need to balance sword and magic, though I would prefer to have the melee abilities remain at least relevant through at least mid-levels.  This question:  is related.  But I am specifically looking to optimize for high targeted damage output and have no need to balance between sword and spell if focusing on one is more effective.  I have considered the duskblade and that may be the best answer, but as I have limited experience with 3.5 I want to find out if I should use a pure duskblade, a duskblade which steps into other classes, or some other class I have not considered.  In this particular case, the characters will start at level 7, and equipment rules are liberal as long as the characters can afford it.  I'm not sure how long this will last so I am focused on the next few levels instead of trying to plan all the way out to 20.  It will be a party of 5.  Not all of the rest of the characters have been fully fleshed out, but we will have a cleric and a wizard.  The other two are more up in the air but they one is looking at various rogue classes and the other is looking at some sort of melee class, with this gishy rounding out the team.  The initial encounter is up in the air, but there is a definite fondness for gryphons.  We do know that we will be working up to dragon in relatively short order, which is a factor in wanting to focus on large damage output to individual creatures as opposed to being able to deal with numerous weaker creatures.  The setting is "modified Forgotten Realms".    I personally own absolutely no 3.5 books, but we have access to a fair bit and just about anything from WoTC is permitted.  I am new to 3.5, but I have a fair bit of roleplaying experience including AD&amp;D.    Thematically, I envision the character as a generally honorable, but working as a monster hunter and mercenary.  I definitely favor swords though specifically which sword is flexible.  Dak'kon from Planescape would be an excellent example of what I would like to build, as would The Witcher.  Based on Kryan's excellent answer, it seems to be leading up to using duskblade and a specialist wizard to lead into Abjurant Champion. In C++/CLI, what does the hat character ^ do? I was reading Ivor Horton's Beginning Visual C++ 2008 and many of its CLR examples have this definition for main:  int main(array&lt;System::String ^&gt; ^args)   I went back, page by page, to the beginning of the book to find the first such instance with an explanation what it really means, but couldn't find one.  Obviously it means the same as the standard int main(int argc, char *argv[]), but I'd like to know when and why that ^ is really used, and why it even exists (does it do something that pointers * and references &amp; cannot represent)? GET and POST methods with the same Action name in the same Controller What's the difference between passing by reference vs. passing by value? What is the difference between    a parameter passed by reference a parameter passed by value?   Could you give me some examples, please? Mint 18 will boot only to a black screen Recovering accidentally deleted files What is the name for these type of images? I love these kind of graphics and it's so flat which totally matches my current product development.      Do we have a name for it? A name will make it easier to search for examples and how to's. What would be the nicest proof of the following theorem:  If $\lim\limits_{n \rightarrow \infty} a_{n} = \infty$, then $\lim\limits_{n \rightarrow \infty} \left(1 + \frac{1}{a_{n}} \right) ^ {a_{n} } = e$. If $\lim\limits_{n \rightarrow \infty}b_{n} = 0$, then $\lim\limits_{n \rightarrow \infty} \left(1 + b_{n} \right) ^ {\frac {1} {b_{n}} } = e$.  I somehow failed to find a proof here on the website and in the literature. I am on Ubuntu and I have forgotten the password for my Gnome Keyring (yes, stupid me, I know). Any way I can get it back? I have already looked at , but it says it's not possible if my home directory is encrypted and unfortunately my home directory is encrypted. Do I need Transit Visa to visit London for 4-5 hours during layover? How to add the word "Figure" to the list of figures? If $p,q,r$ are all primes,and $p|qr-1$,$q|pr-1$ and $r|pq-1$,find all possible values of $pqr$. If $p,q,r$ are all primes,and $p|qr-1$$~~~~~~~~~~~~~$$q|pr-1$$~~~~~~~~~~$ and $~r|pq-1$. Find all possible values of $pqr$.    My work: $qr-1=pk_1$ $pr-1=qk_2$ $pq-1=rk_3$ From the above equations, we can conclude that either $k_1,k_2,k_3$ are all even or one of the primes is $2$. I can also get that, $p^2q^2r^2=(pk_1+1)(qk_2+1)(rk_3+1)$ Now, I cannot proceed. Please help! Subject–verb agreement not clear in "Is two bars OK?" Is the following correct?     Can I get some chocolate for myself? Yes, you can but not much.   Is two bars OK?   Is there any rule to explain the sentence above?  The dialogue's taken from Grammar Textbook Round-Up Level #3. This was a question my friend found in a book.  A block attached to a spring pulled by a constant horizontal force is kept on a smooth horizontal surface. Initially the spring is in its natural state. Then the maximum work that the applied force F can do is:  (a) $F^2/k$ (b) $2F^2/k$ (c) $4F^2/k$ (d) $F^2/2k$  My friend thought that the answer is (a) since the maximum displacement is $x=F/k$ and $W=Fx=F^2/k$. But he saw that the book's answer is different and he asked this question to me. I at first thought that the answer will be (a), but then I realised that this situation is somewhat similar to a charging capacitor. The final energy of the spring is actually $\frac12kx^2=F^2/2k$. So probably the answer is (d)? But the work done is still (a)? But the book says neither. It's (b). This is the logic in the book:  Method 1: in the book:  $$Fx=\frac12kx^2$$  $$x=2F/k$$  $$W=\frac12kx^2=2F^2/k$$  (since the book is an objective questions book it did not have detailed explanations)  What is wrong in the following methods?  Method 2: by calculating the maximum displacement  $$x=F/k$$  $$W=Fx=F^2/k.$$ Method 3: by calculating the final energy  $$x=F/k$$  $$\frac12kx^2=F^2/2k$$  PS: We both know calculus so don't hesitate to use it in the answers. What does this red icon on my panel mean? This red icon.... It showed up after I upgraded to Ubuntu 12.04LTS; I can't figure out how to ditch it. It seems to be a notification thing.  I am at a loss.  The icon is this one:      I clicked it and read this:     An error occurred, please run Package Manager from the right-click menu or apt-get in a terminal to see what is wrong. The error message was:  'Error: BrokenCount&gt;0'.        This usually means that your installed packages have unmet dependencies. Inverse of a Positive Definite Let K be nonsingular symmetric matrix, prove that if K is a positive   definite so is $K^{-1}$ .   My attempt:  I have that $K = K^T$ so $x^TKx = x^TK^Tx = (xK)^Tx = (xIK)^Tx$ and then I don't know what to do next. How do I destroy Nekker nests? How do I model the fighter's Great Weapon Fighting fighting style in Anydice? I was trying to create an AnyDice function to model the Great Weapon Fighting fighting style (which lets you reroll 1s and 2s), but I couldn't get it to work on any arbitrary dice.  I've found this one:  function: reroll R:n under N:n {    if R &lt; N { result: d12 } else {result: R} } output [reroll 1d12 under 3] named "greataxe weapon fighting"   And it works fine. But I don't know how to make the function generic so i don't need to change the d12 every time i want a different dice to reroll.  I've tried  function: reroll R:n under N:n {    if R &lt; N { result: d{1..R} } else {result: R} } output [reroll 1d12 under 3] named "greataxe weapon fighting"   but it is not giving the right probabilities. Maybe if I could fetch the die size inside the function...