RE: [PHP] Prob with sending a php variable in an email
Hi Sonya, Looks like you need a $ before the variable name in the first instance: ? $Username = "Sysdba"; ? Rudolf Visagie [EMAIL PROTECTED] -Original Message- From: Sonya Davey / QDCEL [mailto:[EMAIL PROTECTED]] Sent: 26 March 2001 12:39 To: '[EMAIL PROTECTED]' Subject: [PHP] Prob with sendin'[EMAIL PROTECTED]'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:[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]
RE: [PHP] Prob with sending a php variable in an email
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]
RE: [PHP] Prob with sending a php variable in an email
sorry for the last mail! try with body ? $Username="Sysdba"; ? a href="Mailto:[EMAIL PROTECTED]? subject= Web site body=User name: ? echo $Username; ? Main Agent Code:" Support Desk/a /body hope that helps Ankur Verma HCL Technologies Noida -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]