Hi
Thank you all for the replies.
I need one last help regarding about my questions. Im still having a hard time trying to do what Im thinking of.
Here's what Im trying to do
1: I have a customerinfo table that has a lot of customer data.
2: Each row inside the table has a url column named detailedcustomer.php
This is what it looks like
customerid | customername | contactperson | contactaddress | url
1 | customer1 | contact1 | address1 | detailedcustomer.php
2 | customer2 | contact2 | address2 | detailedcustomer.php
3 | customer3 | contact3 | address3 | detailedcustomer.php
3: When I display the customername in "customerlist.php" I want it to be displayed as a link - I figured this out thanks guys <tr><a href=""> customer1 </a></tr>
4: When the customername is clicked I want it to redirect to "customerdetail.php" - <tr><a href="customerdetail"> customer1 </a></tr>
5: When it redirects to the "customerdetail.php", I want to be able to take the label the link was assigned to. Ex. in 3 the label was customer1
6: I need to be able to take that value so I can use the label in a MySQL query to compare the customername clicked and the customername in the database to be able to retrieve the contactperson, contactadress and display it in detailcustomer.php
I know I can just create a webpage for each customer but my problem there is what if a new customer registers or what if there are a hundred of customers.
The part Im having problem is in parts 5 and 6 - Please help me in this...Ive been thinking about this for 3 days now and I still cant get a clear idea on how to it.
But if you have another easy way to do what Im trying to do, feel free to post it.