Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

PHP Forum


You are currently viewing our PHP Forum as a guest. Please register to participate.
Login



Freelance Jobs

Reply
PHP form process help
Old 12-29-2008, 05:58 AM PHP form process help
Junior Talker

Posts: 1
Name: Eto
Trades: 0
Hello, I really really need your help.

This is the form I am using
http://cac.edu.ge/high_school_eng/ganacxadi_el.php

and this is the process code


PHP Code:
<?php
$myemail 
"something@something.net";
$subject   "Application";
$na trim($_POST['na']);
$adgili $_POST['adgili'];
$a1 $_POST['a1'];
$a2 $_POST['a2'];
$a3 trim($_POST['a3']);
$a4 $_POST['a4'];
$work1 $_POST['work1'];
$work2 $_POST['work2'];
$work3 $_POST['work3'];
$t1 $_POST['t1'];
$t2 $_POST['t2'];
$t3 $_POST['t3'];
$tn1 $_POST['tn1'];
$tn2 $_POST['tn2'];
$tn3 $_POST['tn3'];
$s1 $_POST['s1'];
$s2 $_POST['s2'];
$st1 $_POST['st1'];
$st2 $_POST['st2'];
$x1 $_POST['x1'];
$x2 $_POST['x2'];
$u1 $_POST['u1'];
$u2 $_POST['u2'];
$p1 $_POST['p1'];
$p2 $_POST['p2'];
$saidan2 $_POST['saidan2'];
$end $_POST['end'];
$RadioGroup1 $_POST['RadioGroup1'];
$list1 $_POST['list1'];
$message   "Application
Name and Surname: 
$na
Date and Place of Birth: 
$adgili 
Contact Details:
Address: 
$a1
Telephone: 
$a2
E-Mail: 
$a3
Program: 
$RadioGroup1 
Work:
Name of Organization:      Time of Work:      Post:
$work1                           $t1                    $tn1
$work2                           $t2                    $tn2
$work3                           $t3                    $tn3
 
Education:
Name of College:    Time of Study:  Degree, Qualification:    Faculty/Specialization: 
$s1                    $st1               $x1                    $p1
$s2                     $st2              $x2                    $p2
 
Foreign Language: 
$u1
Level: 
$list1
Computer Skills: 
$u2
How did you find out about CAC? ? 
$saidan2
Date: 
$end";
 
mail($myemail$subject$message"From: $a3");
echo 
"Application has been successfully sent";
?>
Everything is working just fine. Only thing is, I need some of the text ("Education:" for instance) to be bold or bigger when it comes to the mail. Is there any way of doing it?

Any help is appreciated
etdesu is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-29-2008, 06:00 AM Re: PHP form process help
Insensus's Avatar
Ultra Talker

Posts: 487
Name: Mark Stegeman
Location: Netherlands, Europe
Trades: 0
You'll have to add additional headers to the mail function which make it an HTML message.
Then you can use <b> in your message like you normally would.

http://php.net/manual/en/function.mail.php
Example #4
__________________
<?php ($helpfull>0)?$talkupation++ : '';?>
Insensus is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to PHP form process help
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.12597 seconds with 12 queries