PHP pass variable to include

前端 未结 13 2846
你的背包
你的背包 2020-11-27 17:19

I\'m trying to pass a variable into an include file. My host changed PHP version and now whatever solution I try doesn\'t work.

I think I\'ve tried every op

相关标签:
13条回答
  • 2020-11-27 18:09

    I found that the include parameter needs to be the entire file path, not a relative path or partial path for this to work.

    0 讨论(0)
提交回复
热议问题