[FX.php List] How to have an Edit Record link in a list.

Denis Somar 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!

Cheers,
Denis


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'][0]; ?>">Edit</a>
>
> And have the edit page do a search on the ID to pull up the editable
> fields...
>
> Cheers
>
> Webko
> ______________________________**_________________
> FX.php_List mailing list
> FX.php_List at mail.iviking.org
> http://www.iviking.org/**mailman/listinfo/fx.php_list<http://www.iviking.org/mailman/listinfo/fx.php_list>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.iviking.org/pipermail/fx.php_list/attachments/20111127/9c9f132b/attachment.html


More information about the FX.php_List mailing list