Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, November 11, 2026
About Us
Magazine
Open Source
CVS
Services
Index  »  Projects  »  phpMyEdit  »  Forum  »  Getting $value from another field and putting it in URL

phpMyEdit General     Getting $value from another field and putting it in URL
Post new topic   Reply to topic    
 
Zahid     Joined: 06 Jan 2006   Posts: 1  
Post Posted: 2006-01-06 10:12
Back to top  Reply with quote     

Hi,

Is it possible to get the $value from another field
and put into another fields ['URL']

currently I am doing this

Code:
$opts['fdd']['email'] = array(
   'name' => 'Email',
   'select' => 'T',
   'URL' => './emailperson.php?id=$value'
);


This puts in the actual email address,
however I want to get an ID number from another column called 'ContactID' which is in the same table.
and pass this 'ContactID' as the "$value" in the email URL above.

Can anyone help me on this?

 
MG     Joined: 28 Jun 2006   Posts: 5  
Post Posted: 2006-06-28 07:21
Back to top  Reply with quote     

Zahid wrote:
I want to get an ID number from another column called 'ContactID' which is in the same table.
and pass this 'ContactID' as the "$value" in the email URL above.


Zahid,

Did you manage to get this working? I trying to get something similar - I need to update a database field based on the contents of two virtual fields. I can't get it to work either.

Code:
'sqlw'     => $latdeg . ' + (' . $latmin . '* 60)'


MG

 
ajh     Joined: 17 Dec 2003   Posts: 236  
Post Posted: 2006-06-28 08:55
Back to top  Reply with quote     

You can't do this. sqlw can only take the value from the field it's attached to.

 
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