If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Is a "linking" table the answer...?

I have this huge multi-page form that writes to a database. I then have a pdf generator that will grab data from only some of the questions of the form. Also some of the answers to those questions may be repeated on the pdf form (like name, phone).

What would the best way be for my pdf-generator to get the data from the database?

write php code to query the mysql database for the data desired, then use a pdf converter which you can invoke from php to produce the pdfs desired

OK, thanks for the response! However, I only want some of the data. The problem is that the data I want is arbitrary. I can't really think of any 'where' or 'limit' clauses to add to the sql statement that would solve the issue.

OK, thanks for the response! However, I only want some of the data. The problem is that the data I want is arbitrary. I can't really think of any 'where' or 'limit' clauses to add to the sql statement that would solve the issue.