I'm having an issue with this code below. Basically I'm trying to past the fname below and have it display in my PHP page. Now it works get with the exception that it doesn't go beyond the 1st page when it outputs the info.
If I were to replace the FNAME LIKE '" .$fname . "' within the code and have it say something specific like FNAME = 'bob', ONLY then will the script work.
Is there something that I'm missing so that the variable carries over properly. I'm think I need to do some sort of session variable but I could be wrong.
Please see the HTML and PHP files that are zipped in the attachment.
index.zip