Simple php comment box?

I haven't really found a third-party vendor or reliable tutorial for a simple form where people can enter comments/testimonials that will then display on my site. Does anyone have a resource? I did the tutorial at helpertuts, and was able to connect the dbase, but have run into many final tweaking issues, and would like to start over with something new.
I noticed there is a free javascript comment box offered; is that ok if there is no real need to manage the comments with a dbase?
Thanks for your help.

Thanks Jon,  that looks very simple.
On the other hand, I did give it a try myself, and before I take this simple alternative, maybe someone can take a bit of time, and possibly point me in the right direction.
http://www.placetrenddata.com/jcshop.php
A warning posts above the page footer, some issue with a query,
The submitted comments should appear in the sidebar, and I think the script puts them in the header. Maybe this is why they don't show up.
Here is the code for the success.php doc:
<?php
header("Location: jcshop.php");
?>
Thanks again for the help.

Similar Messages

  • Simple poll/comment box in JSP

    Howdy, I'm trying to create a simple poll containing five options, as well as a comment box (consisting of a text box and a submit button), both of which show results on the same page they're on. I've been searching for some examples, but have had no luck. Can anyone point me in the right direction or help me out with any sites that have example source code dealing with this sort of thing? Thanks!

    Here is a simple example:
    <html>
    <head>
    <title>My Page</title>
    </head>
    <body>
    <form method="GET" action="/servlet1">
    <div align="center"><br>
    <input type="radio" name="group1" value="Milk"> Milk<br>
    <input type="radio" name="group1" value="Butter" checked> Butter<br>
    <input type="radio" name="group1" value="Cheese"> Cheese
    <hr>
    <textarea name="comments" cols="40" rows="5">
    Enter your comments here...
    </textarea><br>
    <input type="submit" value="Submit" />
    </div>
    </form>
    </body>
    </html>

  • Can some one help me please / comment box ?

    hi im very new to dreanweaver and i have a big problem, I
    have a uni project to be in on friday and i need to put in a
    comment box which links to my email and i cant find a clear
    tutorial and is ther a way of doing it with out complicated html?
    I also have aproblem with making my pages fit or expand to th
    different screen sizes. i imported the back grounds fas png from
    illustrator is ther conversion i nead to apply ?
    Can some please please shed some light please

    Well without seeing your design, I can tell you that in order
    to make your webpage expand and contract based on the screen
    resolution will require that you use possibly repeating backgrounds
    in table cells or layers that have widths based on percentages
    rather than pixels.
    As far as a comments box goes, based on your description it
    sounds like you need a contact form to submit information to an
    email account as opposed to a comments box (
    http://www.shoutpro.com/ - that
    is a comments box).
    If you need a form to mail to an email you should consider
    what you can run on your server. More than likely, even if PHP is
    available it would be blocked by your server so you would have to
    use cgi for mail. So I would recommend trying this script:
    http://www.scriptarchive.com/formmail.html
    It is fairly simple, you just have to point your form to the
    CGI file that is include in the script. Then there are instructions
    on the site telling you how to edit that CGI file to send an email
    to where you need it to go. Hopefully this is what you are looking
    for. If you have any questions about it feel free to post
    back.

  • How do I add a testimonial comment box to my site ?

    I am currently almost finished building my site, I want to add in my footer a comment box, so the visitors can leave testimonials about my business.
    I would like the data that they enter to automatically appear in another div and fade in and out.
    So basically two different divs one that holds the comment box, and the other that cycles through all the testimonials one at a time and fades in and out.
    The only problem is I have no idea where to start.
    Can someone tell me each subject that this involves and what I should reference to get this started and finished. Like I said I know how to build a basic site but I dont know anything about adding a comment box or have that inputted data display in another div automatically and cycling throught them all.
    This site at the bottom of the page has a display similar to what I am thinking off but doesnt have the comment box, but that is basically what I am trying to figure out how to do, the customer quotes fade in and out. I would just like another section next to it for customers to add there comments and have the list automatically update and scroll through them like this site is doing
    So if someone could just explain what topics I should be researching specifically I would greatly appreciate it.
    http://www.filesonic.com/file/45975527/v9.1.157.Cracked-NOY.part1.rarhttp://www.vsplash.com/

    What you need is server-side scripting and the use of a library like Jquery.  You need the server side scripting to send the information to a database to be saved (assuming you want to keep the comments) and then JQuery and javascript will process and write to the page.  I don't want to scare you too much, but this is not a topic for beginners because it involves interaction between the languages.  I have provided 2 links below for reference:
    http://net.tutsplus.com/tutorials/php/asynchronous-comments-with-jquery-and-json/
    http://www.99points.info/2010/07/facebook-style-wallpost-and-comments-system-using-jquery- ajax-and-php-reloaded/

  • HCM Process & Forms: Date & Time Stamp issue in Prev Comments Box

    Hi
    We implemented HCM Process and Forms and we are in EHP4.  We need user name, date and time stamp in each step for audit purpose.
    Form Process Example:
    Step1: Manager -> Initiates a Form for employee pay/position changes  (REQUEST)
    Step2: 1-Up Manager -> Approves a Form for employee pay/position changes (APPROVE)
    Step3: HR Admin -> Process a Form for employee pay/position changes (PROCESS)
    Process Overview: HR Admin can open a form once all steps are completed and they want to see all 3 steps date & stamp here.
    New Comments -> To enter user comments in each step. Used data type HRASR_CURRENT_NOTE
    Previous Comments-> To display prev. step / user's comments including user name, date & time. Used data type HRASR_PREVIOUS_NOTES.
    I tried all different property settings in the form. May be I am still missing some property settings here.
    Issue:  If user enters any comments in "New Comments" box then only date & time stamp is coming along with their comments in "Previous Comments" otherwise not showing anything, just blank in the Prev. Comments.  I added some code in form script in case no data in "New Comments" then default a value ":" . It is working fine for first step but not working the same for other 2 steps.
    Trying in different way:
    Creating 3 text fields in a form just for display purpose and modifying each field (data set) with some text (combination of user name, system date and time) at each stage/step in a BADI.
    Method: IF_HRASR00GEN_SERVICE~DO_OPERATIONS
    Here it is updating correctly for first step/stage (REQUEST) and other 2 fields are not updating accordingly. I did debug for each step and updating the data set correctly but finally not dispalying the valuse in a form except first field.
    Can someone please share your ideas or inputs.
    Appreciate your time & help!
    Thanks
    Hari

    Hi Sahir
    Thank you for your reply.
    As I explained in my post, user details with date & stamp are coming when user enters some comments otherwise it is blank., All users may not enter comments because it is not a "required".
    HR is needed this for audit purpose, just at end of the process they need to see all user names, date & stamp in the form. Forget about comment boxes, Can't we make just simple text fields with user details for each step (all 3 stages)?
    FYI:
    Issue:  If user enters any comments in "New Comments" box then only date & time stamp is coming along with their comments in "Previous Comments" otherwise not showing anything, just blank in the Prev. Comments.  I added some code in form script in case no data in "New Comments" then default a value ":" . It is working fine for first step but not working the same for other 2 steps.
    Appreciate your inputs !
    Thanks
    Hari

  • Find and Replace multiple line PHP comment

    Greeting everyone!
    Hopefully this question is asked in the right place.
    I have about 300 php files that have multiple line PHP
    comment that start with /* and end with this */. I want to remove
    all the comments since I am trying to reduce the file size as much
    as possible. The comments are no longer needed and I have tried
    many different configureation in the dreamweaver find and replace,
    but for the life of me I cannot seem to get it to work. I even
    tried useing regular expressions, but the astrick * is a wild card
    the the code tags contain an astrick.
    Is it possible to do this in dreamweaver, or will I need to
    hand edit every page?
    Thank for help
    example

    I am not sure of the exact syntax but open the find replace
    function on a page and play with find syntax search feature from
    the drop down menu . If I am not mistaken you should be able to to
    search from the beginning of a comment tag to the end of one and
    grab whats in between. From the help file
    Use the Find And Replace dialog box to search for text or
    tags in a document, and to replace the found material with other
    text or tags.
    Select Edit > Find And Replace.
    In the Search pop‑up menu, select Specific Tag.
    Select a specific tag or [any tag] from the pop‑up menu
    next to the Search pop‑up menu, or type a tag name in the
    text box.
    (Optional.) Limit the search with one of the following tag
    modifiers:
    With Attribute Specifies an attribute that must be in the tag
    for it to match. You can specify a particular value for the
    attribute or select [any value].
    Without Attribute Selects an attribute that must not be in
    the tag for it to match. For example, select this option to search
    for all img tags with no alt attribute.
    Containing Specifies text or a tag that must be contained
    within the original tag for it to match. For example, in the code
    <b><font size="4">heading 1</font></b>, the
    font tag is contained within the b tag.
    Not Containing Specifies text or a tag that must not be
    contained within the original tag for it to match.
    Inside Tag Specifies a tag that the target tag must be
    contained in for it to match.
    Not Inside Tag Specifies a tag that the target tag must not
    be contained in for it to match.
    (Optional.) To limit the search further, click the Plus (+)
    button and repeat step 3.
    If you didn’t apply any tag modifiers in steps 3 and 4,
    then click the Minus (-) button to remove the tag modifiers
    pop‑up menu.
    If you want to perform an action when the tag is found (such
    as removing or replacing the tag), select the action from the
    Action pop‑up menu and, if applicable, specify any additional
    information necessary to perform the action.

  • Does anyone know of a free Comments box script / widget that actually works???

    Re: Dreamweaver 2014.1.1
    I've searched and tried over thirty different scripts so far....everything from HTML to CSS to javascript! Some java's worked and came out well (ex. Free Comment Script - Generate free ajax driven HTML comments on your website.) BUT when I press the "Post Comment" it does nothing at all. But other than that their great in reference to looks and what-not.
    Attached are pictures of the web screen-shot (above) where all is working EXCEPT the post comment and below is the script.
    So if anyone knows how to either get my java script I noted above to work when I press "Post Comment " or can link me to a reliable, simple Comments box/script/widget for me to post at the bottom of my <body> I would thank you dearly

    So the concept was that the spam was through the site providing, I completely understand....as I did get a lot of "hocus-pocus" crap during the preview of whatever code I pasted.
    As for the code which I installed and came up blank, here is a copy of it (I saved it just in case I want to try it again):
    <div id="disqus_thread"></div>
    <script type="text/javascript">
        /* * * CONFIGURATION VARIABLES * * */
        var disqus_shortname = 'httpwwwoneidaservicescommariabdayhtml';
        /* * * DON'T EDIT BELOW THIS LINE * * */
        (function() {
            var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
            dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
    (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
    </script>
    <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
    for comment count, add:
    <script type="text/javascript">
        /* * * CONFIGURATION VARIABLES * * */
        var disqus_shortname = 'httpwwwoneidaservicescommariabdayhtml';
        /* * * DON'T EDIT BELOW THIS LINE * * */
        (function () {
            var s = document.createElement('script'); s.async = true;
            s.type = 'text/javascript';
           s.src = '//' + disqus_shortname + '.disqus.com/count.js';
    (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
    </script>

  • Can I change the format of my "comments" box on my blog page

    Hi there, I'm new to iWeb and have designed my first website. Great fun and I'm very excited about it but on my "blog" page I would like to get more information from the comment senders. Is there a way I can change the comment box format? For example I would like to change "Comment as" to "Your name", "URL" to "Your occupation" and add two more fill-in fields. Is that possible?
    b.t.w. Is that html, java or php? sorry if I sound a bit ignorant, as mentioned I am new to this.
    Thanks for any advice
    Tony

    As you know MobileMe will be discontinued by Apple on June 30, 2012.  When MMe goes away so will your blog comments. 
    So if you want to continue your blogging you will have to create a blog on one of the existing blogging sites and copy and past your entries and comments into it.
    However, Rage Software has created an application, iWeb to WordPress, which will convert your blog to a WordPress blog, complete with your entires and user comments. 
    You can then use either WordPress.org or WordPress.com to create your blog and host it on your new server.
    This may be of some interest to you: Life After MobileMe.
    Furthermore it is now confirmed that iWeb, and iDVD, has been discontinued by Apple. This is evidenced by the fact that new Macs are shipping with iLife 11 installed but without iWeb and iDVD.
    On June 30, 2012 MobileMe will be shutdown. However, iWeb will still continue to work but without the following:
    Features No Longer Available Once MobileMe is Discontinued:
    ◼ Password protection
    ◼ Blog and photo comments
    ◼ Blog search
    ◼ Hit counter
    ◼ MobileMe Gallery
    All of these features can be replaced with 3rd party options.
    I found that if I published my site to a folder on my hard drive and then uploaded with a 3rd party FTP client subscriptions to slideshows and the RSS feed were broken.  If I published directly from iWeb to the FPT server those two features continued to work correctly.
    There's another problem and that's with iWeb's popup slideshows.  Once the MMe servers are no longer online the popup slideshow buttons will not display their images.
    Click to view full size
    However, Roddy McKay and I have figured out a way to modify existing sites with those slideshows and iWeb itself so that those images will display as expected once MobileMe servers are gone.  How to is described in this tutorial: #26 - How to Modify iWeb So Popup Slideshows Will Work After MobileMe is Discontinued.
    It now appears that the iLife suite of applications offered on disc is now a discontinued product and the remaining supported iApps will only be available thru the App Store from now on. However, the iLife 11 boxed version that is still available at the online Apple Store (Store button at the top of the page) and those still on the shelves of retailers will include iWeb and iDVD. Those two apps were listed in small, gray text on the iLife 11 box that I bought.
    Personally, if I didn't already have a copy I would purchase one to have it for reinstallation purposes if ever needed.
    OT

  • How come I can't see the CNN's comment box? Now I can't comment! It works on others MacBook Pro's Safari, but not on mine.

    The Comment box vanished!. There is usually a box where you can type your comment right under where it says "Add New Comment".  I have Mac OS X Lion 10.7.4, Safari 6.0. I have a CNN account and can also log into it through Facebook and it still does not work. However, Whenever I log into my sister's laptop which is the same as mine, it works over there. So the issue is definitely on my Safari or somewhere else in my computer.
    I will show you two pictures giving an example on how the comment section on CNN is supposed to be working.
    PIC #1 - On this first picture, in the part where it says "Add New Comment", right under it theres supposed to be a box where i type inside my comment. But as you will see there will not be a box
    There is supposed to be a comment box between "Add New Comment" and those tabs where it says CNN DISQUS FacebookCONNECT TWITTER
    PIC # 2 - On this second picture, I will print screen the same page and try to reply to that first top comment on PIC #1. And doing it that way there is also no comment box. Again I should say that yes I do have an account on CNN and I am logged in. On CNN.com, if you are not logged in either through Facebook or CNN itself, the reply button would not even appear.
    As you can see, Right under where it says "Replying to geoplato"(whoever that is) there should be a box as well. And I know its my computer or my browser because my sister that lives with me, she has a MacbookPro which is what I use, and it works fine on hers. So I know its not CNN, Its my computer or browser.
    I hope with these new pictures, someone will be able to help me.
    Thank you all again who spends your time going through this. I really appreciate it.
    Francisco Neto.

    software update not working
    https://discussions.apple.com/thread/3967755?start=0&tstart=0

  • Firefox froze a webpage, and I want to recover the text I wrote in the comment box on the page.

    I wrote a long thing in a comment box at the www.rollingstone.com website using Firefox for macbook as the browser. Typing into the comment box was going slowly and a then a window popped up saying "WARNING: Unresponsive script" in bold and then below it it says "A script on this page may be busy, or it may have stopped responding. You can stop the script now, open the script in the debugger, or let the script continue." Then below that it says: "Script: http://www.rollingstone.com/assets/js/built/desktop.bundle.js:185" Then there are 3 buttons:"Debug script", "Stop script", or "Continue", none of which respond. I think the text I entered is still there on the page if I could break this window. I am wondering if it is possible to recover the text I wrote in the box?
    The Debugger came on at the bottom of the page, but the window of the rollingstone page won't move so I can't bring it up to see most of the debugger. It looks like the script is some "RubiconAdServing."
    I downloaded a hxD editor, but I just get stuff on the right about the URL. In the advice I was given on another site, it says that I should be able to recover the text this way. Maybe I am clicking on the wrong thing to open with the Hex editor.
    There were no things in the upper left of my macbook window like 'file' for Firefox, but now they are there but not responding. Firefox is totally not responding, but there are a lot of other firefox browser windows minimized that are open and still at the bottom of the screen, but also not responding. How do you get into Firefox and recover the text? While I was writing the text on the Rolling Stone website, the writing within the tab would show that it had to connect to the internet to enter the text. When I went to the site I entered the text, it was not saved on the site. I can see some of the text I wrote on the frozen Firefox screen, but nothing moves. I am sure the text I wrote it still there if I could get through. How do I get into the Firefox webpage? All the other applications are working on my MacBook.

    Try the following:
    #Open the Mac Activity Monitor
    #End the plugin-container process(es)
    Now the page should respond again, but you will need to reload the page in order for it to work again, so copy your comment.

  • Is there any way to find text highlighted in adobe reader and automatically copy it to comment boxes?

    If I use a pdf highlighted in Adobe Reader (metro) in another PDF reading program, one with functionality to retrieve and list various annotations on the PDF, it simply finds "sticky note" as Adobe Reader highlights the text but fails to copy and paste it into a 'highlight' comment box. I intend to use another program with this feature automatic, from this point forward, but is there any way I can retroactively and automatically do this same task to all the other work I've done with Adobe Reader? It is, as I understand, a standard function of PDF annotation.
    Of course, ideally, I would also like this to be automatic in the future, as the Adobe Reader Metro App is generally well-designed, touch-interface wise. But this lacking feature makes finding my comments a much greater hassle than it should be (as I can see where I highlighted, but not what without traveling directly to the page)
    Also on a side note, I apparently can't delete a sticky note from within the app, what the hell

    You cannot enforce something like that. You have some options when the field is set up to allow rich text formatting, but the user can always change it.

  • I'm having the oddest situation...  On my 13" MBP, when trying to enter text into a Facebook comment box; my delete key is totally non-functional.  I works just fine everywhere else, just not in the comment box.  Cannot delete characters.

    I'm having the oddest situation.  When I attempt to enter text into a Facebook comment box, my "delete" key doesn't work.
    It's just fine EVERYWHERE else, I just cannot delete characters from a comment box.
    What might I be missing?  I don't know what's up.
    JP
    MacBook Pro Retina 13"
    Safari 8.0.2
    Yosemite 10.10.1

    I'm having the oddest situation.  When I attempt to enter text into a Facebook comment box, my "delete" key doesn't work.
    It's just fine EVERYWHERE else, I just cannot delete characters from a comment box.
    What might I be missing?  I don't know what's up.
    JP
    MacBook Pro Retina 13"
    Safari 8.0.2
    Yosemite 10.10.1

  • I used a GarageBand loop in a video I made for youtube. I want to submit this video for revenue. First, is this legal? Second, youtube requires written permission to use songs, and provides a comment box for proof of permission. What do I put in this box?

    I used a GarageBand loop in a video I made for youtube. I want to submit this video for revenue. First, is this legal? Second, youtube requires written permission to use songs, and provides a comment box for proof of permission. What do I put in this box to prove It's ok for me to make ad revenue from my video?

    Yes, you can use GarageBand loops for commercial purposes. Here's the Apple Doc:
    http://support.apple.com/kb/HT2931
    (Basically the only thing it excludes is to re-distribute the loops as loops.)
    I don't know about the YouTube form, maybe you just fill in "Apple Loops", they certainly have come across this before.

  • Is there a way to adjust the size of comment boxes in Pages?

    I want to make my comment boxes larger so I can view the entirety of a comment rather than simply see bits and pieces in Pages. Is there a way to do this?

    There are no controls to expand the dimensions of comment boxes, in either Pages '09, or in Pages v5. The latter has a larger comment box with internal scrollbars. In Pages '09, comments can print and export to PDF. In Pages v5, comments are lost on print or export.

  • Is it possible to switch off auto dates in a comments box?

    Hello,
    I am making annotations to a document in pages 09 using the comments facility.  However each time after saving when I return the date has automatically appeared in the comments box.  This is becoming slightly annoying as I have a larger list of dates than the comments I'm making!
    Is it possible to switch this feature off?
    Thankyou in advance for any help.

    Hi Jerrold,
    That works fine until I save and then when I reopen the document the comment box has the date and time back at the top.  If I save and reopen again the following day there will be two dates and times in the box!
    I really just need to get rid of them totally.

Maybe you are looking for