I have a table name boards, and I'm trying to insert data using the current code  function createBoard( $name, $desc  ) {     try {         $sth = $this-&gt;getLink()-&gt;prepare( "INSERT INTO boards(id,memberid,name,desc,datecreated,isactive)              VALUES(?,?,?,?,?,?)" );          $uuid = $this-&gt;uuid();         $memberid = 1;         $date = Utils::getDate();         $isactive = 1;          $sth-&gt;bindParam( 1, $uuid );         $sth-&gt;bindParam( 2, $memberid );         $sth-&gt;bindParam( 3, $name );         $sth-&gt;bindParam( 4, $desc );         $sth-&gt;bindParam( 5, $date );         $sth-&gt;bindParam( 6, $isactive );         return $sth-&gt;execute();     } catch( PDOException $e ) {          /*          * save the error to the error log defined as @ERROR_LOG          */          file_put_contents( ERROR_LOG, ( "\n" . Utils::getDate() . " : " . $e-&gt;getMessage() ), FILE_APPEND);           die( "FATAL ERROR...Please check the error log." );     } }   However, every time I get this error "2012-05-11 14:40:50 : SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'desc,datecreated,isactive) VALUES('d5989c7e-9b98-11e1-88cd-0026b936528c','1' at line 1"  I have tried the same function using bindValue() and just putting the array with direct values into the $sth-&gt;execute() function but I always receive the same error. Maybe an outside eye can spot something I'm missing or doing wrong?
After reading a couple of answers and comments on some SQL questions here, and also hearing that a friend of mine works at a place which has a policy which bans them, I'm wondering if there's anything wrong with using backticks around field names in MySQL.  That is:  SELECT `id`, `name`, `anotherfield` ... -- vs -- SELECT id, name, anotherfield ...
Math notation in LaTeX? How can I write e^(3j) in LaTeX?  I have tried many syntax, like $e^(3j)$ or $e^*{3j}$  Any help will be very well received. When did Tom Riddle get his new face? Recently I asked about the  pertaining to Voldemorts new face. However I was corrected by ...     Well, I think the confusion comes with mixing movie canon with book canon. In Philosopher's Stone, here's what Harry sees when Quirrell unwraps his turban:           Harry would have screamed, but he couldn’t make a sound. Where there should have been a back to Quirrell’s head, there was a face, the most terrible face Harry had ever seen. It was chalk white with glaring red eyes and slits for nostrils, like a snake.          Philosopher's Stone - page 212 - UK - chapter 17, The Man With Two Faces      So it seems at some point between leaving school, and sticking his face to the back of Quirrel's head possessing Quirrel he got a new face some how.   How did he manage that? Is it some dark magic he applies? Is it from possessing snakes in Albania? Show that any bounded linear functional on a normed linear space is continuous.   Can we say that it is uniformly continuous ?   Also, is it true, if we reverse the statement    any continuous  linear functional on a normed linear space is bounded ?? A star's collapse can be halted by the  due to the Pauli exclusion principle. In extreme relativistic conditions, a star will continue to collapse regardless of the degeneracy pressure to form a black hole. Does this violate the Pauli exclusion principle? If so, are theorists ok with that? And if it doesn't violate the Pauli exclusion principle, why not? Fix SD card that cannot be formatted Thor: Ragnarok ends with the remaining people of Asgard aboard a refugee ship that meets Thanos' ship. Avengers: Infinity War opens with      Thanos and his minions having commandeered the ship and several bodies can be seen on the floor.   This begs the question, what happened to these characters:   Korg Miek Asguardian extra #3 Valkyrie Installing Ubuntu 13.04 on a MSATA SSD I am trying to install Ubuntu 13.04 on my 24Gb MSATA SSD. In my laptop, I've also got a 500Gb SATA HDD. I realize that in order for this to work I need to put my /home directory on the 500Gb HDD.   I've tried installing it by creating a ext4 partition on the SSD and a 8Gb swap partition on my HDD. This resulted in an error saying something similar to Cannot install bootloader, please select an other location for the bootloader.   Now before I waste any more time trying to get it to work I'm going to ask a bunch of questions:   Where should I put the swap partition? How big should I make the swap partition? (I've got 12Gb RAM) My 500Gb HDD is currently in Raid mode. Should I change that (to AHCI or IDE)? Where should I put the bootloader if the error message occurs again? How do I make the home directory point to the HDD instead of the SSD? Can I configure Ubuntu to install software/packages on the HDD instead of the SSD? For quite some time now I have been asking myself how the world of Game of Thrones is shaped and if the people living in that world know the shape.   In questions here on SciFi.Stackexchange concerning the unnatural seasons or the definition of a year in Westeros, it is often  that the Westerosi can measure the duration of a revolution of their planet around the sun. But that only works if they know that they actually live on a planet.   In  answer it was said that people have been travelling in ships around the world. However, I cannot remember any passage in the books supporting this. Actually I only remember evidence for the opposite:    During the  on the Iron Islands, there is a man called  who promises the Ironborn treasures from lands far to the west, if they elect him as king. However, the POV character of that chapter (I think it was Victarion Greyjoy) does not believe him and sees the madness in Gylbert's eyes - as if speaking of travelling west is crazy.  Later when he leads the attack against the Shield Islands, the Iron Fleet travels out of sight of the coast line. This manoeuvre is considered very dangerous and risky. If this is already dangerous, traveling even further west appears close to suicide.   In addition, there was a  who sailed to the far west and never returned.   establishes that the world is not a hollow world, but is not conclusive as to whether it is a planet.  Is there any evidence in the books that the World of Ice and Fire is a planet? Was it established that the Westerosi know the nature of their world? $\mathbb{R}$ \ $\mathbb{Q}$ and $\mathbb{R}^2\setminus\mathbb{Q}^2$ disconnected? How to change the base of logarithmic-scale plots? How to determine if $n (n \geq 2)$ given numbers can be summed up to a certain number? I'm interested in knowing if there's a theorem for checking if combinations of $n$ given positive numbers can be summed up to a certain number.   For example, if I was given $n = 2$ numbers, which are $k_1$ and $k_2$, and I was asked if I could make a combination like $n_1 * k_1 + n_2 *k_2 = C$, all $\in \mathbb{N}^+$, I could check remainders to see if it is possible.   However, if $n = 3$ or higher, how could I check if combinations of $k_1, k_2, ..., k_n$ can be summed up to a $C$? Thank you for any inputs! Isle vs. Island Some islands are called isle like "Isle of Man", "Isle of Tortuga" and the "British Isles". Other islands are called island, like "Island of Malta" or "Island of Cyprus".  What is the difference between the words? How to know if a land mass confined by water is called an isle or an island? Typesetting Chemical Formulas Calculator Program improvements I'm pretty new to programming and made a few programs so far. I recently made a Calculator program and I hope you guys could tell me what I could do to improve. int firstNumber; string sign; int secondNumber; int answer;  Console.WriteLine(&quot;Input Number:&quot;); firstNumber = Convert.ToInt32(Console.ReadLine()); Console.Clear();  Console.WriteLine(&quot;Input Sign:&quot;); sign = Console.ReadLine(); Console.Clear();  Console.WriteLine(&quot;Input Second Number:&quot;); secondNumber = Convert.ToInt32(Console.ReadLine()); Console.Clear();  switch (sign) {     case &quot;+&quot;:         answer = firstNumber + secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     case &quot;-&quot;:         answer = firstNumber - secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     case &quot;*&quot;:         answer = firstNumber * secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     case &quot;/&quot;:         answer = firstNumber / secondNumber;         Console.WriteLine(answer);         Console.ReadKey();     break;     default:         Console.WriteLine(&quot;Invalid Input&quot;);     break; } Finding the variable name passed to a function Let me use the following example to explain my question: public string ExampleFunction(string Variable) {     return something; }  string WhatIsMyName = &quot;Hello World&quot;; string Hello = ExampleFunction(WhatIsMyName);  When I pass the variable WhatIsMyName to the ExampleFunction, I want to be able to get a string of the original variable's name. Perhaps something like: Variable.OriginalName.ToString()  Is there any way to do this? Why Faddeev-Popov ghost cannot exist in external line? What is the right first step to take when integrating $1/(2+ \sin x + \cos x)$? I want a hint on this following integral. I don't know the first step, do I do $u$-sub. or do I use trig. sub or something?  $$\int \frac{1}{2+ \sin x + \cos x} ~\mathrm{d}x$$ Does deleting iCloud photos affect them on devices? If I delete a photo from my iCloud will it also be removed from my devices that are connected to my account? How to Store Fresh Herbs How to return a part of an array in Ruby?