| Index
» Projects
» phpMyEdit
» Forum
» insert into other database and send e-mail |
 |
robaran
Joined: 03 Aug 2009
Posts: 2
Posted: 2009-08-03 16:00
Back to top
Reply with quote
|
Hi, can somebody help me?
-How can I send selected record with e-mail ( with submit button like as add,delete...)
-How can I insert selected record into other database table ( insert into testtable (...) )
Thanks for any assistance you can provide.
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-08-05 13:36
Back to top
Reply with quote
|
A dummy (virtual) field could be created, containing a link with the record id, which when clicked will pass the record id to a custom PHP script you write which will query the table, compose the email message, send the message (or do whatever else you need done with that record ID).
|
robaran
Joined: 03 Aug 2009
Posts: 2
Posted: 2009-08-06 16:36
Back to top
Reply with quote
|
| doug wrote: |
| A dummy (virtual) field could be created, containing a link with the record id, which when clicked will pass the record id to a custom PHP script you write which will query the table, compose the email message, send the message (or do whatever else you need done with that record ID). |
I am a new phpmyedit user,can you post a Example code for Name und Firstname Please?
[code]$opts['fdd']['id'] = array(
'name' => 'ID',
'select' => 'T',
'options' => 'AVCPDR', // auto increment
'maxlen' => 8,
'default' => '0',
'sort' => true
);
$opts['fdd']['Name'] = array(
'name' => 'Name',
'select' => 'T',
'maxlen' => 128,
'sort' => true
);
$opts['fdd']['Firstname'] = array(
'name' => 'Firstname',
'select' => 'T',
'maxlen' => 128,
'sort' => true
);
|
doug
Joined: 10 Feb 2003
Posts: 1013
Location: Denver, Colorado (USA)
Posted: 2009-08-06 16:40
Back to top
Reply with quote
|
Try the forum's search feature. Search terms might be
href link
virtual link
dummy field link
|
|
Post new topic
Reply to topic
|
|
|
|