Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Friday, April 19, 2024
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Hide a field-column (but fill it/update it)

phpMyEdit General     Hide a field-column (but fill it/update it)
Post new topic   Reply to topic    
 
trister     Joined: 01 Dec 2010   Posts: 15  
Post Posted: 2014-10-17 18:13
Back to top  Reply with quote     

Hi again.

I have a table with eg 3 fields
id, comment, owner_id

owner_id is a variable that I can get from the session.

I want to display only the "comment" field but I want the "owner_id" field to be filled from the session.

At the moment I fill "owner_id" with :

$opts['fdd']['owner_id']['values2|CPA'] = array($ID => $ID);

I want that field to not be visible to the user (but to be filled anyway).
Is this possible without a trigger?

Thanks in advance

 
trister     Joined: 01 Dec 2010   Posts: 15  
Post Posted: 2014-10-17 18:37
Back to top  Reply with quote     

it seems with this code I got it:

$opts['fdd'][''owner_id'] = array(
'name' => 'owner id', //
'select' => 'T',
'options' => 'AVCPDR',
'input' => 'R',
'maxlen' => 8,
'default' => $ID,
'sort' => true
);
$opts['fdd']['owner_id']['values2|CPA'] = array($ID => $ID);

This shows the "owner_id" field only while edit and it seems to fill it correctly...

Is this the correct way?

 
yashi1     Joined: 15 Mar 2021   Posts: 3  
Post Posted: 2021-05-18 15:05
Back to top  Reply with quote     

if you want some erotic game on your bed. then book a call girl just one click on this click with your choice.
Escorts Service in Delhi

 
Post new topic   Reply to topic    

Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top · Feedback form · Application form
Report bug on PLATON.SK website · Terms of use · Privacy policy