Quiz's name field php fwd to picture (pixel x, pixel y)

I have a jotform test with 30 questions written up in it. Alongside this jotform, There are some php files on my server that pull the data the person is entering, and relates it to the answers. (answers which are given in the php code)

These are the files in the folder:
certificate.php
header.php
index.php
footer.php
certificate.png
form-mapping.xlsx
Companyname-Certificate.php
style.css
Century.tff (font)

index.php contents- Content, correct answers (for php relation), link to jotform (the test)

certificate.php contents- pulls first and last name from index.php

When they have gotten 80% correct in the test, their name and the date they took the test AUTOMATICALLY goes from the index.php file that they took their test from, to the certificate.pdf file that has an empty name and date field. I’m assuming somewhere in the certificate.php file it tells the index.php file what PIXEL exactly (x and y coordinates) where to place the name and the date.

If anyone out there is curious or has experience in this area PLEASE take a look at my source files, I have been scratching my brain as to why the test won’t give the person a score or certificate anymore.

Sponsor our Newsletter | Privacy Policy | Terms of Service