If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Sep 2013
    Member #

    ahhh need help with PHP background

    hey guys, new to php and was wondering if i could get some help on my coding, i finally got the image to show in the back ground but it repeats. any help here's my code.

    last half of the form.............
    <strong>Next Appt:</strong><br>
    '. runPost('NextAppt') .'
    '. runPost('HearingDepo') .'

    <strong>Disability & Restrictions</strong><br>
    '. runPost('DisabilityRestrictions') .'
    <strong>Service Requested:</strong><br>
    '. runPost('ServiceRequest') .'

    // create email headers
    $headers = "MIME-Version: 1.0\r\n";
    $headers .= "Content-type: text/html; charset: utf8\r\n";
    $headers .= 'From: '.$email_from."\r\n".
    'Reply-To: '.$email_from."\r\n";

    @mail($email_to, $email_subject, $email_message, $headers);

    echo "<body style='background: url(; background-size: 100% auto;'>";

    } img {
    border: 0 none;
    max-width: 100%;
    vertical-align: middle;

    <p style="margin: 20px; text-align: center; font-weight: bold; font-size: 36px; font-style: italic;">Your request was processed successfully. Return to <a href="">Homepage</a><a href=""></a></p>

    } else {
    echo 'something went wrong ';


  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Not from USA
    Member #
    2784 times
    Perfect Full Page Background Image | CSS-Tricks <-- it's not a PHP question, but your answer is here.
    If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.

    If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.

    My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)

Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
All times are GMT -6. The time now is 12:51 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2020 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: