dongsaolian8786 2016-03-17 16:29
浏览 13

要求函数与变量[重复]

This question already has an answer here:

can you tell me what is wrong with this code:

require( 'prepareOrder.php?oID='.$orders["id"].'');

Where: prepareOrder.php is a php located on the webpage root folder and orders[id] is an id from an sql database.

</div>
  • 写回答

4条回答 默认 最新

  • dongpin2969 2016-03-17 16:34
    关注

    First of all no such file exists in your system having ? in name

    All the variables declared before file include/require are available in that file and variables declared in included/required file are also available in parent file.

    So simply include file and access variables as you access in other files ;)

    评论

报告相同问题?