Closed Thread
Results 1 to 5 of 5




  

Thread: Processing Submission Form

      
  1. #1
    The Force is Strong! NowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura about NowakFilip's Avatar
    Join Date
    April 26, 2008
    Location
    United States
    Posts
    741
    Rep Power
    5
    Feedback Score
    0

    Default Processing Submission Form

    I need a little help coding a processing submission form with database.

    I have already created my own submission form that can be found here.

    When a person adds his site I would like the results to be shown on a new page for approval and disapproval.

    Here is an example of the approval or disapproval page for the administrator to approve or disapprove the site link.

    Code:
    Site Name | Site Address | Email Address | Approve | Disapprove
    Then after the approve button is pressed I would like the site to be automatically listed in here.

    Here is an example of the site what how it should look after the site is approve.

    Code:
    1) Site Name 1 (Site Address 1 Embed To The Site Name 1)
    2) Site Name 2 (Site Address 2 Embed To The Site Name 2)
    Also when the disapprove button is pressed I would like the results to be deleted from the page of the submission request.

    Could someone please tell me how I can do this to make this all work.

  2. #2
    Grand Masters Colleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond reputeColleen has a reputation beyond repute Colleen's Avatar
    Join Date
    September 22, 2006
    Location
    Canada
    Posts
    11,144
    Rep Power
    26
    Feedback Score
    0

    Default Re: Processing Submission Form

    Did you figure this out yet?

  3. #3
    The Force is Strong! NowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura about NowakFilip's Avatar
    Join Date
    April 26, 2008
    Location
    United States
    Posts
    741
    Rep Power
    5
    Feedback Score
    0

    Default Re: Processing Submission Form

    No, I haven't.

    I decided to submit the sites manually.

    But I still would need some help with that submission form.

  4. #4
    Jedi Master cwboaze will become famous soon enoughcwboaze will become famous soon enough cwboaze's Avatar
    Join Date
    April 15, 2008
    Location
    Danville, Virginia. USA
    Posts
    90
    Rep Power
    5
    Feedback Score
    0

    Default Re: Processing Submission Form

    help no problem. but to your questions, and what is listed. U did not supply
    enough for me to help without just spitting code out at you!

    which I mind!, cause time is money. So, please post your submit php file code
    and any processing files you have!, and I can help. If you do not want to disclose
    that information, don't ask for help!, hire help!
    ----------------------------
    :neutral: - Chris Boaze - :neutral:
    Webmaster/Programmer
    http://www.webdevelopmenttechnology.com

  5. #5
    The Force is Strong! NowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura aboutNowakFilip has a spectacular aura about NowakFilip's Avatar
    Join Date
    April 26, 2008
    Location
    United States
    Posts
    741
    Rep Power
    5
    Feedback Score
    0

    Default Re: Processing Submission Form

    Here is the original submit form.
    PHP Code:
    <table width="900" height="0" border="0" align="center"><td>

    <
    span class="font">Add Your Site To Snoork Directory Now For Free.</span>

    <
    br><br>

    <
    form method="post" action="process.php"><table width="300" border="0"><tr>

    <
    td valign="top"><span class="font">Site Name:</span></td>

    <
    td valign="top"><input type="text" name="t1"></td></tr><tr>

    <
    td valign="top"><span class="font">Site Address:</span></td>

    <
    td valign="top"><input type="text" name="t2"></td></tr><tr>

    <
    td valign="top"><span class="font">Email Address:</span></td>

    <
    td valign="top"><input type="text" name="t3"></td></tr><tr><td></td>

    <
    td><input name="Submit" type="submit" id="Submit" value="Submit">

    </
    td></tr></table></form></td></table
    Here is the processing file.
    PHP Code:
    <?php
    $mymail 
    'Email@Email.com';
    $cc 'Message Title';
    $BoDy ' ';
    $FrOm 'From:' .$_POST['t1'];
    $BoDy .= 'Site Name: ';
    $BoDy .= $_POST['t1'];
    $BoDy .= "\n";
    $BoDy .= 'Site Address: ';
    $BoDy .= $_POST['t2'];
    $BoDy .= "\n";
    $BoDy .= 'Site Category: Art';
    $BoDy .= $_POST['0'];
    $BoDy .= "\n";
    $BoDy .= 'Email Address: ';
    $BoDy .= $_POST['t3'];
    $BoDy .= "\n";
    $send mail("$mymail""$cc""$BoDy""$FrOm");
    ///Redirect user to your homepage....
    if($send)
    {
    echo 
    '<html><head>';
    echo 
    '<meta http-equiv="refresh" content="0;URL=http://directory.snoork.com/category/art/added.php">';
    echo 
    '</body></html>';
    }
    ?>
    I have posted the submission form and the processing file.

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Replies: 3
    Last Post: May 6th, 2008, 11:12 am
  2. contact form
    By unr in forum HTML & Website Design
    Replies: 22
    Last Post: Apr 6th, 2008, 7:41 am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
WebTalkForums
WebTalkForums
Recent Forum Threads