RE: [PHP] Prob with sendin'php-general@lists.php.net'g a php vari able in an email
| From: | Rudolf Visagie | Date: | Mon, 26 Mar 2001 10:56:42 +0000 |
| Subject: | RE: [PHP] Prob with sendin'php-general@lists.php.net'g a php vari able in an email | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-45599@lists.php.net to get a copy of this message | ||
Hi Sonya,
Looks like you need a $ before the variable name in the first instance:
<?
$Username = "Sysdba";
?>
Rudolf Visagie
rudolf@qedi.co.za
-----Original Message-----
From: Sonya Davey / QDCEL [mailto:SonyaD@PQAfrica.co.za]
Sent: 26 March 2001 12:39
To: 'php-general@lists.php.net'
Subject: [PHP] Prob with sendin'php-general@lists.php.net'g 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:Support@here.co.za?
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net