This is a very basic question. I haven't coded in php in ages, and I've forgotten what character to put before special characters in php that represent the end of a line or piece of code. For instance the apostrophe. If simply want an apostrophe to show up is it \' OR /' ?
FOR EXAMPLE:
I've got an array that I'm using to insert a variable into a certain line in a php file.
PHP Code:
$f_arr[$i] = '$variable = 'example';';
I obviously can't have two matching endings. If
$variable = 'example'; is exactly what I want written in the line of my php file. How would I fix this piece of code?