Join PHP variable with string

See here for the original answer.

I was in the process of writing this and saw Tim's comment, which is exactly what I was going to say. It seems much easier to add the string "TEXT" to the information you want in the PHP instead of the SQL. Here is an example:

echo "TEXT" . $valueAA . $valueAVAR;

Tags

  1. php (Private)
  2. pdo (Private)
  3. mysql (Private)
  4. sql (Private)
  5. stack-overflow (Private)
  6. answer (Private)