Answer the question
In order to leave comments, you need to log in
PHP. Can an include script replace the result of a variable in the main script?
Good afternoon.
Tell me please. Can an include script replace the result of a variable in the main script?
I.e. On the simplest example:
Main script:
include 'inc.php'
$test = 'Как дела';
echo $test;
if ($test === 'Как дела'){
$test = 'Как ты'
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question