I just figured out how i can seperate customers from customers who order. If on they load the page check-out-success i can send a vaule to a new table inside customers that tells me. So when i export the whole customer database i will have that info of who just got the free book for signing up and who bought the other ebook. So the question is how do i submit a value to SQL on a page load?

Thanks,

Brad