Zahid
Joined: 06 Jan 2006
Posts: 1
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
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
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
|
|
|