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  »  insert into other database and send e-mail

phpMyEdit General     insert into other database and send e-mail
Post new topic   Reply to topic    
 
robaran     Joined: 03 Aug 2009   Posts: 2  
Post 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)
Post 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  
Post 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)
Post 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    

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