try with

<body>
<?
$Username="Sysdba";
?>

<a href="Mailto:[EMAIL PROTECTED]?
subject= Web site
&body=User name:
<?
$Username;
?>
Main Agent Code:">
Support Desk</a>

</body>

hope that helps

regards

Ankur Verma

-----Original Message-----
From: Sonya Davey / QDCEL [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 4:09 PM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Prob with sending a php variable in an email


I have a problem sending a php variable ie $Username in a simple email form,
example as follows:
<body>
<?
Username="Sysdba";
?>

<a href="Mailto:[EMAIL PROTECTED]?
subject= Web site
&body=User name:
<?
$Username;
?>
Main Agent Code:">
Support Desk</a>

</body>

Thanks in advance!
Sonya

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to