[FX.php List] How to have an Edit Record link in a list.
dsomar at gmail.com
Sun Nov 27 20:14:52 MST 2011
Thanks! If I wanted to hide any parameters/values that I'm passing along
and show them in the URL, then I probably need to set up the link as a form
button and passing hidden form values, right?
Thanks again for the answer to my original question!
On Sun, Nov 27, 2011 at 10:02 PM, Tim 'Webko' Booth <tim at nicheit.com.au>wrote:
> Dear Denis
> Got my loop, am echoing out all sorts of values for each record in my
>> list/loop, I just don't know how to get echo a link to edit the current
>> record in the loop on an editing page.
> Well, assuming we have a unique ID field then inside the foreach I would
> use something like:
> <a href="edit.php?id=<?php echo $result['ID']; ?>">Edit</a>
> And have the edit page do a search on the ID to pull up the editable
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FX.php_List