# 2 quick PHP questions

**URL:** <https://forum.kirupa.com/t/2-quick-php-questions/46338>\
**Category:** programming\
**Created:** [March 23, 2004, 3:16pm UTC](https://forum.kirupa.com/t/2-quick-php-questions/46338 "2004-03-23T15:16:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![briguy33](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/briguy33/32/386_2.png) [@briguy33](https://forum.kirupa.com/u/briguy33)\
**Post date:** [March 23, 2004, 3:16pm UTC](https://forum.kirupa.com/t/2-quick-php-questions/46338/1 "2004-03-23T15:16:54Z")

</div>

1. is there a way to format text that has been emailed from a php script bold? for example in the php code below i want the “SENDER:” to be emailed bold so it stands out more.

2. i have the php mail form below working, but i need to change the time… it is ahead 2 hours i need it to be pacific time (california) … any ideas on how to change that?

-here is the php-

```php
<?
$to = "my@email.com";
$name = $_POST['name'];
$email = $_POST['email'];
$comments = $_POST['comments'];
$subject = "fairtrade site comments";
$Today = (date ("l dS of F Y ( h:i:s A )",time()));

$message = "$Today 
";
$message .= "message result of contact form 

";

$message .= "-------------------------------------------------------- 
";
$message .= "SENDER : 
";
$message .= "$name - $email 

";

$message .= "-------------------------------------------------------- 
";
$message .= "COMMENTS : 
";
$message .= "$comments 
";
$message .= "-------------------------------------------------------- 

";

$header = "from: $name ($email)";

mail($to, $subject, $message, $header);
?>

```

here is what the form returns (email)

```php
Tuesday 23rd of March 2004 ( 08:58:09 AM ) 
message result of contact form 

-------------------------------------------------------- 
SENDER : 
Senders Name - senders@email.com

-------------------------------------------------------- 
COMMENTS : 
senders comments 
--------------------------------------------------------  

```

thanks in advance

brian
