Board index   FAQ   Search  
Register  Login
Board index PHP PHP General


General discussions related to php

Moderators: macek, egami, gesf


Postby loon » Sun Jul 06, 2003 6:24 am

how can I send the result through email in a local intranet? have the example? thankq!!!
New php-forum User
New php-forum User
Posts: 4
Joined: Sun Jul 06, 2003 2:51 am


Postby ruturajv » Sun Jul 06, 2003 8:44 am

Get the post or whatever results in the variable on a page

$answer = $_POST['ans'];
...... and so on
and then use mail function

mail("", "Subject line", $answer);

Hope it helps
User avatar
php-forum Super User
php-forum Super User
Posts: 1280
Joined: Sat Mar 22, 2003 9:42 am
Location: Mumbai, India

Return to PHP General

Who is online

Users browsing this forum: No registered users and 1 guest

Sponsored by Sitebuilder Web hosting and Traduzioni Italiano Rumeno and antispam for cPanel.