Here is the details of my senario.
I have a table of data that includes all real estate listings in my area. The first this is providing a form for users to either search for a unique listing number (the first form action below which calls newlayoutbig.php runs a query on my table and pulls all fields associated with that particular record) The second is to allow them to search for listings in a certain price range (the second form action below which calls testdetailsbut.php which runs a query and displays a summary of results for each listing found. Now, I have added a button in each summary. I want this button to take that particular result's listing number and pass it to newlayoutbig.php. I don't know how to program this button. Do I use another form action line for the button? Do I use HTTP_GET or POST? When a user inputs the data I use <input type=text name=listnumber size=7 maxlength=7> and it is stored as $listnumber. Then I use this in my query. But if it is a value that a query has displayed, not input by a user, how is it stored for me to pass to the .php?
If so, how? Any help would be great.
I have an html page the consists of two forms (<form action=/tests/newlayoutbig.php method=GET> and <form action=/tests/testdetailsbut.php method=GET>). The first form gets user input for a unique value (listing number in my case).