RE: [PHP] include option and calling only part of a file.

2002-12-28 Thread John W. Holmes
> I have one file with several sections of code which I have so far > accessed using a good old fashioned - - if ($HTTP_GET_VARS['action'] == > "Update") - - however I now want to include this code within some other > web pages, I thought I may be able to use the following code - - > include("/mod

[PHP] include option and calling only part of a file.

2002-12-28 Thread Stephen of Blank Canvas
Hi Everyone, I have one file with several sections of code which I have so far accessed using a good old fashioned - - if ($HTTP_GET_VARS['action'] == "Update") - - however I now want to include this code within some other web pages, I thought I may be able to use the following code - - include(