CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> Archive -> CodeChargeStudio.Discussion

 re: Email

Print topic Send  topic

Author Message
Seppo Apajalahti
Posted: 01/31/2003, 10:43 PM

Hi!

I have try, but withyout success.
I have a testform. Thename of the grid is "testialue", the name of the
emailfield is "Email" and the code in Before event looks like this:

<?php
//BindEvents Method @1-4DCD3FAF
function BindEvents()
{
global $testialue;
$testialue->Email->CCSEvents["BeforeShow"] =
"testialue_Email_BeforeShow";
}
//End BindEvents Method

function testialue_Email_BeforeShow() { //testialue_Email_BeforeShow
@8-67E59DF4

//Custom Code @17-2A29BDB7
// -------------------------
global $testialue;
$testialue->Email->setvalue("<a href='mailto:"
..$testialue->Email->Value."'>" .$testialue->Email->Value "</a>");
// -------------------------
//End Custom Code

} //Close testialue_Email_BeforeShow @8-FCB6E20C


?>

I can not find where I am doing wrong. I get this errormessage:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING in
c:\ohjelmatiedostot\apache group\apache\htdocs\testaus\NewPage1_events.php
on line 15

Can you help?

Seppo Apajalahti
______

global $yourgrid;
$yourgrid->emailfield->setvalue("<a href='mailto:"
..$yourgrid->emailfield->Value ."'>" .$yourgrid->emailfield->Value "</a>");

in the beforeshow event.

Ron


"Seppo Apajalahti" <seppo.apajalahti@pp.inet.fi> schreef in bericht
news:b0av4m$6ji$1@news.codecharge.com...
> Hi!
>
> I', using PHP + MySQL + CCS2beta
>
> I have a grid where one of the fields is e-mail address. How can change
the
> field to a mailto: -field so that I can send e-mail with a doubleclick?
> I'm sorry about my bad English.
>
> --
> Seppo Apajalahti
>
>
>



   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.