Announcement

Collapse
No announcement yet.

does anyone know html i need help ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • does anyone know html i need help ?

    does anyone know HTML im looking for the code that refrash the page and go to home page right after the thank u page(action) for contact us
    so far this is what i have

    'Thank you, your message has been sent and we will get back to you shortly'
    <?PHP
    $mailto = "info@GTcell.com";
    $email = $HTTP_POST_VARS['email'];
    if ($email == "") {
    $email = $mailto;
    }
    $mailsubj = "Contact Us";
    $mailhead = "From: $email\n";
    reset ($HTTP_POST_VARS);
    $mailbody = "GTcellphone :\n";
    while (list ($key, $val) = each ($HTTP_POST_VARS))
    {
    if ($key!="submit")
    {
    $mailbody .= "$key : $val\n";
    }
    }
    mail($mailto, $mailsubj, $mailbody, $mailhead);
    Danny B.

  • #2
    Re: does anyone know html i need help ?

    The code in your post is the code that will mail you the form info. I suppose that you have pasted it in your Thank you page.

    To make it automatically redirect to your homepage after (say) 10 seconds, you need to paste the following code in the Between head Tag of your Thank you page HTML:

    <meta http-equiv="refresh" content="10;url=http://www.yoursite.com">

    changing 10 to whatever you like, and www.yoursite.com to your actual domain name.
    Navaldesign
    Logger Lite: Low Cost, Customizable, multifeatured Login script
    Instant Download Cart: a Powerfull, Customized, in site, DB driven, e-products Cart
    DBTechnosystems.com Forms, Databases, Shopping Carts, Instant Download Carts, Loggin Systems and more....
    Advanced BlueVoda Form Processor : No coding form processor! Just install and use! Now with built in CAPTCHA!

    Comment


    • #3
      Re: does anyone know html i need help ?

      thank u very much for your help with this it works great :)
      Danny B.

      Comment

      Working...
      X