Zahid
Založený: 06.01.2006
Príspevky: 1
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
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
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
|
|
|