Hello , i am having a question about the eval function I always need to read some data from text file, and then call the eval function my problem is that if the text have sign like " , or ; , then i get errors and it's not evaling the code... My questions is , how i can make eval only to evalutate $variables like to change variables names, not to eval the whole text as php code?
I solved this problem str_replace like $string=str_replace('$name',$name); )) you can do an explode , to count all words starting with an $ if you want