Register

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
    Posts
    1
    Member #
    37292

    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') .'
    </p>
    <p>
    <strong>Hearing/DEPO:</strong><br>
    '. runPost('HearingDepo') .'
    </p>
    </td>
    </tr>
    </table>

    <br>
    <p>
    <strong>Disability & Restrictions</strong><br>
    '. runPost('DisabilityRestrictions') .'
    </p>
    <p>
    <strong>Service Requested:</strong><br>
    '. runPost('ServiceRequest') .'
    </p>
    </td>
    </tr>
    </table>
    </body>
    <html>';


    // 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(http://rubysgraphicdesign.com/newlogos.jpg); 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="www.ionracasinvestigations.com">Homepage</a><a href="www.youtube.com"></a></p>

    <?php
    } else {
    echo 'something went wrong ';
    }
    ?>

  2.  

  3. #2
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 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 10:22 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com