0

The following works great running xampp on Windows machines however it will not pull in Ubuntu. I have permissions that I know of in the /var, /www and /html. It shows I have read/write in the properties.

<!DOCTYPE html>
<html lang="en">
<head>
<title>service</title>
<script src="tablefilter/tablefilter.js"></script>
</head>
<body>
<h1>Service Special Orders </h1>

<table id="demo">

<tbody>
<?php
$fp = fopen ( "Service.csv" , "r" );
while (( $data = fgetcsv ( $fp , 1000 , "," )) !== FALSE ) {
echo "<tr>";
echo "<td>" . $data[0] . "</td>";
echo "<td>" . $data[1] . "</td>";
echo "<td>" . $data[2] . "</td>";
echo "<td>" . $data[3] . "</td>";
echo "<td>" . $data[4] . "</td>";
echo "<td>" . $data[7] . "</td>";
echo "/<tr>";
}
fclose ( $fp );
?> .....

Here's how it looks on Xampp:

xampp

Here's how it looks on Ubuntu:

ubuntu

where do I start on fixing this?

Jason Aller
  • 3,541
  • 28
  • 38
  • 38
Rhonda
  • 13
  • 3

0 Answers0