Closed Thread
Results 1 to 6 of 6

Thread: PHP Coding Help 30+ credits

  1. #1
    Kraze_T is offline x10 Lieutenant Kraze_T is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    355

    PHP Coding Help 30+ credits

    I need a little help on some php coding,

    This is a part of a contact form

    $txt['smfcontact_form'] = 'Summit Offer Form From ';
    $txt['smfcontact_formname'] = "Forum Username: ";
    $txt['smfcontact_formemail'] = "Email: ";
    $txt['smfcontact_formmessage'] = "Link To Screenshots: \n";
    when the email is send it looks like this

    Summit Offer Form From Forum
    Forum Username:
    Email:
    Link To Screenshots:

    What i would like is when i get the email i get a space between each like so i looks like this

    Summit Offer Form From Forum

    Forum Username:

    Email:

    Link To Screenshots:
    and also i need some coding, when i get a image link it turns into and image instead of a text link.

    i will pay 30-50 credits for the person that can do this for me.

  2. #2
    Synkc's Avatar
    Synkc is offline Lord Of The Keys Synkc is an unknown quantity at this point
    Join Date
    Jun 2007
    Location
    Hervey Bay, Australia
    Posts
    1,765

    Re: PHP Coding Help 30+ credits

    A simple way to do it would be to just add an extra "new line" character before the text,

    PHP Code:
    $txt['smfcontact_form'] = 'Summit Offer Form From: ';
    $txt['smfcontact_formname'] = "\nForum Username: ";
    $txt['smfcontact_formemail'] = "\nEmail: ";
    $txt['smfcontact_formmessage'] = "\nLink To Screenshots: \n"
    Last edited by Synkc; 03-15-2008 at 07:02 AM.
    E-mail: synkc[at]x10hosting[dot]com
    Hirokima.com

  3. #3
    Kraze_T is offline x10 Lieutenant Kraze_T is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    355

    Re: PHP Coding Help 30+ credits

    thanks Synkc, i gave you 30 credits for that.
    Now i need som1 to edit the code so that when i recieve the email with the image link i see an image instead of a link, i will pay 20-30 credits for that!

  4. #4
    sunils's Avatar
    sunils is offline x10 Spammer sunils is an unknown quantity at this point
    Join Date
    Jan 2008
    Location
    Chennai ,India
    Posts
    2,264

    Re: PHP Coding Help 30+ credits

    Try this.
    Use the image tag for it. Since the HTML Code is off here i dont know whether the code will work here.

    use the image tag in html, put the url of the image as the src attributes value.

    ex:-
    <img src=image url >
    [LEFT][B]Sunil Sankar
    -------------------------------------------------------------------------

  5. #5
    jonathanyaniv is offline Banned jonathanyaniv is an unknown quantity at this point
    Join Date
    May 2008
    Location
    Surrey, BC
    Posts
    178

    Re: PHP Coding Help 30+ credits

    do it like this

    store the link to the image in a variable

    and then in the mail function

    have it call <img src = $varname >

    not the exact code, but u get the idea. :-)

  6. #6
    Kraze_T is offline x10 Lieutenant Kraze_T is an unknown quantity at this point
    Join Date
    Sep 2007
    Posts
    355

    Re: PHP Coding Help 30+ credits

    i started this post in march, and the thread is dead, i dont need help on this anymore.
    LOCKED

Closed Thread

Similar Threads

  1. [PHP] Variables in PHP
    By Bryon in forum Tutorials
    Replies: 15
    Last Post: 01-29-2009, 09:46 AM
  2. Help with php .... Some heavy credits for solving it :)
    By oracle in forum Programming Help
    Replies: 5
    Last Post: 02-23-2008, 04:55 PM
  3. 500 credits for php script
    By Christopher in forum The Marketplace
    Replies: 3
    Last Post: 10-19-2007, 11:47 PM
  4. "PHP Startup: Invalid Library" - Interesting error
    By javaguy78 in forum Free Hosting
    Replies: 5
    Last Post: 03-27-2007, 02:33 PM
  5. Images in PHP Coding?
    By TheJeffsta in forum Scripts & 3rd Party Apps
    Replies: 4
    Last Post: 05-19-2006, 07:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers