Hi
I am displaying a simple table which is generated from a mysql table - it shows customer details.
I want to have each line as a href link which when clicked will take you to an edit page to edit the details for that customer.
I can arrange a variable to increment for each line, 1,2,3 etc etc but I don’t know how to include an href so that when a row is clicked the next php file launched with a the reference taken through and the respective details for the customer picked out of the database.
I know how to launch the edit page and if I have a variable set to identify a particular customer I can do that as well - for example with an input box - it is the combining it with an href so that i don’t need an input box that I need help with.
Hope this is not a silly question
Regards.
You could try making an array? [and linking to the array]
Somethign similiar to this?
[php]
while($row = mysql_fetch_array($result)){
echo “
echo “
}
[/php]
I presume you knwow aht you need to edit?
Thank you, that worked a treat