phirschybar
Založený: 18.09.2003
Príspevky: 43
Zaslal: 2003-09-18 03:04
Návrat hore
Odpovedať s citátom
|
I ran into this problem with fields that I didnt want certain unprivelaged users to be able to change when they added records. It is quite un-elegant and it wouldn't work for your example of stating a long question but here it is:
I made that field a DROPDOWN with only one value in the array. In my case, that one value was a variable, but it could certainly be static. Unfortunately, you will see the dropdown arrow but you can't make an edit to the field since there are no other options.
I propose that an uneditable field option be a feature of the next phpMyEdit.
Ben
|
nepto
Založený: 06.01.2003
Príspevky: 320
Bydlisko: Phoenix, Arizona (USA)
Zaslal: 2003-09-20 18:37
Návrat hore
Odpovedať s citátom
|
Consider this:
Everytime insert into database also username/userid (via hidden field for example). When user logged in, make filter to display only his or her records.
Concerning to Doug's question:
It has to be possible with triggers. In triggers you could remove undesirable values, which should not be stored in database.
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|