title: How to concatenate user defined variables in PHP and insert result into MySQL Table
body: <p>I'm trying to concatenate three variables into one variable and INSERT the result into an MYSQL table. </p>
  
  <p>Here's my code so far: </p>
  
  <pre><code>$title = $_GET['title']; 
  $colour = $_GET['colour']; 
  $shoe_id = $_GET['shoe_id'];
  
  $order_title = $title + '(' + $colour + '|' + $shoe_id');
  
  $sql="INSERT INTO orders(order_title_1)
  VALUES('$order_title')";
  $result=mysql_query($sql);
  
  Result : $title ($colour | $shoe_id)
  i.e. Ara Ladies Reggio Lazer Cut Trouser Shoe (White | 51179-05G) | 12200
  </code></pre>
  
  <p>At the moment the result stored in the database is zero. I presume this is because I'm using the '+' operator incorrectly, however, I'm not sure what I should be using to concatenate the variables. </p>
  
  <p>What do I need to do to concatenate the variables properly? </p>
  
  <p>Thanks. </p>