php mysql database display webpage fix

IN PROGRESS
Bids
33
Avg Bid (USD)
$52
Project Budget (USD)
$30 - $250

Project Description:
i need the attached index.php file fixed so that it displays the required fields from a mysql table.

the 'datetime' field should be a hyperlink that when clicked, takes the user to a page with the entire contents of the mysql table row displayed as it was entered into the form in index1.php file attached.

you can see the form in index1.php at www.avestracapital.com.au/clay/drt that is the form i created to submit the data. i need a new one created to display the data of a selected table row.

u can see the error i am receiving when trying to display the data at www.avestracapital.com.au/clay/drt/submitted

this is the index.php file attached.

ideally i would like the two final files each named index.php . i will locate them in different directories.

There is additional work available for a successful completion of the above task.

Skills required:
MySQL, PHP
Additional Files: index.php index1.php
About the employer:
Verified
Public Clarification Board
Bids are hidden by the project creator. Log in as the employer to view bids or to bid on this project.
You will not be able to bid on this project if you are not qualified in one of the job categories. To see your qualifications click here.