I have somewhat a simple scenario, and having been out of PHP for some time, I'm a bit of a brainfart the past two days as I'm researching and re-educating myself with PHP.
To put in lamen terms, I have a CSV file on the host server. I have a store that calls for 'stock on hand' so to speak.
I understand first to call the file:
$handle = fopen("future.csv", "r");
And to then have the file read:
while (($record = fgetcsv($handle, 1000, " ")) !== FALSE)
{
Next to compare the part number from the webpage, to the list of part numbers in the CSV file, matching to the correct entry and displaying the 'stock on hand' number associated on the same line/with said entry/part number.
I have read so many variations of calling information from a CSV file, but nothing specific in this manner. If someone could put out there some PHP to for me to start with to grab information from a specified class of cell per item that would be great.
Thank for your time in reading my query. - thanks in advance for any correspondence!