On 4/21/04 6:37 AM, in article c6*******************@news.demon.co.uk, "Tony
Marston" <to**@NOSPAM.demon.co.uk> wrote:
In my humble opinion your approach is all wrong. You should not allow updates
on a list/browse form. Instead you should allow the user to select one or more
entries on the current screen then press an UPDATE button which will go into a
detail screen with its own SUBMIT button. If more than one record was selected
you should display links which allow the user to step forwards and backwards
through the selected items.
If you visit http://www.tonymarston.net/php-mysql...plication.html this
will give you access to an online demonstration. You can then download the
code and run it locally.
HTH
Thanks * It looks great would love to have something like this but I down
loaded the code and it is way beyond me. Which I could just upload and
select the table and the fields to show.
I kept getting the following:
This application has encountered an unrecoverable error
The following has been reported to the administrator:
2004-04-21 08:33:19
Fatal Error: MySQL error: 1044 : Access denied for user: 'value@localhost'
to database 'sample' (# 256).
Error in line 173 of file
'/home/value/public_html/phpapps/sample/std.dml.class.inc'.
Script: '/phpapps/sample/person_list.php'.
Object/Class: 'dml', Parent Class: ''.
Remote Address: (I deleted)
Warning: error_log(/home/value/public_html/errorlog.html): failed to open
stream: Permission denied in
/home/value/public_html/phpapps/sample/error.inc on line 88