0

I have a table with a column name that includes a single quote '. I do not manage this table so I cannot change the column name. How do I select a value from my query?

Example: $sql['This Column's Name']

AbraCadaver
  • 78,200
  • 7
  • 66
  • 87
Tavish
  • 41
  • 4

1 Answers1

0

Double quotes are accepted $sql["This Column's Name"]

Tavish
  • 41
  • 4