Jump to content

include filkes


jenniferG

Recommended Posts

we have a file external to our main php code with rows defing the variuables, just a text file  called requestfields.php. Each row in the file looks like

$ADDRESS1=$ROW['ADDRESS1'];

$ADDRESS2=$ROW['ADDRESS2'];

$ANNUALQTY=$ROW['ANNUALQTY'];

and so on for all columns in the table.

---------------------------------------------------------------------------------------------

if we use include 'requestfields.php'  after the

mysql_fetcharray(resource)  command,  we get a print of the  requestfields file in

a browser window.  If we cut and paste inbto the main code file, everything works perfect. We are trying our code down  as small as possibke and would like to use

the include, but it  appears to not work.

Jennifer

Link to comment
https://forums.phpfreaks.com/topic/61893-include-filkes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.