Answer the question
In order to leave comments, you need to log in
How to properly escape a variable that is used in a file path?
I am writing a function that will use the file name, but I don’t know how to escape it correctly, because the variable is seen as text
function massive_csv($file_name){
$arr = file('./$file_name.csv'){
Answer the question
In order to leave comments, you need to log in
Most conveniently, an after pseudo-element with a gradient. The shadow is not very convenient, because. the sides will stick out a little.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question