Jump to content

groupkits

New Members
  • Posts

    2
  • Joined

  • Last visited

groupkits's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. hi! Sorry have not code; as I need help to develop code for counting based on year and days. I want to add a code to my site which should show "Year" and "Issues" counting based on year and days. Like if I start today it should show "Year: 1" - "Issue - 1" and issue counting should go on increasing day by day. and on change of years it should set Year Counting as 2 and Issue counting should be restart from 1. Can I get some help?
  2. hi! I am using following coding as a PHP + HTML contact form:- <html> <head> </head> <body> <?php if(isset($_POST['email'])){ $email = $_POST['email']; $recipient = "myemail@myemail.com,"; $subject = "Contact Form Email Subject"; $mailheader = "From: $email \r\n"; mail($recipient, $subject, $mailheader) or die("Error!"); $msg = "<font color='green' size='3'>Thank You for your message.</font>"; echo $msg; } ?> <form method="POST"> <p align="center"> Enter your valid email id: <br> <input type="text" name="email"> <br> <input type="submit" value="Subscribe now!"> </form> <?php echo $msg; ?> </body> </html> I am getting a problem: The text: [ Thank You for your message."; echo $msg; } ?> ] is showing up at the top of form even before submission. The form is sending the email but it is not showing the text [ Thank You for your message. ] blow the form after sending email.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.