Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Getting $value from another field and putting it in URL

phpMyEdit General     Getting $value from another field and putting it in URL
Odoslať novú tému   Odpovedať na tému    
 
Zahid     Založený: 06.01.2006   Príspevky: 1  
Príspevok Zaslal: 2006-01-06 10:12
Návrat hore  Odpovedať s citátom     

Hi,

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

currently I am doing this

Kód:
$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     Založený: 28.06.2006   Príspevky: 5  
Príspevok Zaslal: 2006-06-28 07:21
Návrat hore  Odpovedať s citátom     

Zahid Napísal:
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.

Kód:
'sqlw'     => $latdeg . ' + (' . $latmin . '* 60)'


MG

 
ajh     Založený: 17.12.2003   Príspevky: 236  
Príspevok Zaslal: 2006-06-28 08:55
Návrat hore  Odpovedať s citátom     

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

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov