My first post.
I am putting together a website with DW8 where visitors enter information first name, second name, address etc. I've set up the database with input, search and results pages. But I want to change to check if the visitor is a returner or a new visitor. So I need to write some code.
What I want is the first page to have the visitor enter first name & second name.
Then the php will search the database and if the names are there already there the input page displays the record for the visitor to edit. If there not in the database then the input page displays just the first and second name and a blank address field for the visitor to fill in.
Does anyone know of a sample already written to do this as I'm sure it's a common function.
MAMP on OSX