Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 10 of 10
  1. #1
    Banned
    Join Date
    Oct 2003
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Got the SQL stuff working but, PLEASE DEAR GOD HELP

    Got the SQL stuff working but, PLEASE DEAR GOD HELP
    First off I admire you genuises who know this script like the back of your hand.... That said please help.

    I downloaded this snazzy little polling script from http://proxy2.de/scripts.php

    So far it is wonderful. I was able to setup the MySQL part of it and then install the script from the very limited directions that came with the scripts. I am able to log on the admin part on my website which is here

    I made a temporary password so whomever may browse it.

    http://www.heydom.com/poll/admin/index.php

    username: admin password: temp

    I made two sample polls, but now I am at my witts end.
    I haven't the foggiest idea how to get the polls into a webpage, where to link anything, where the polls actually are, how to customize, what all that code is... Basically I am dying but not giving up.

    I have come this far and been at this all day now. Please Please help me. I just want to be able to make simple polls and know how to display them in my webpage.

    Oh and please dont talk to me like I know what I am talking about, because I dont. I pale in comparison to the code intellect you all have.

    Thank you in advance and sorry about the long biography but I am desperate.

    Dom

  • #2
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Geniuses? It was right there under "HELP" in the control panel
    PHP Code:
    <?php
    include_once "/mnt/web_a/d09/s43/b01b5e82/www/poll/booth.php";
    echo 
    $php_poll->poll_process(x);        // x = Poll ID
    ?>
    Replace X with the poll id.....
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #3
    Banned
    Join Date
    Oct 2003
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Where in the code area does that go, I am using Frontpage lol, yes you heard me frontpage

    and thank you for your quick response

  • #4
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Paste that wherever you want the poll to show up!
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #5
    Banned
    Join Date
    Oct 2003
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    but I replace x as the poll id then do I save it as php, do i need to do anything else

  • #6
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    seems like that is all to me
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #7
    Banned
    Join Date
    Oct 2003
    Posts
    76
    Thanks
    0
    Thanked 0 Times in 0 Posts
    can it be an htm file or does it have to be php and I have to have the file on the server in order to see the poll correct?

    I apologize about my inexperience

  • #8
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    you have to a have a php enabled server to view it which you obviously do because you have the admin set up. you need to rename the file .php. for instance if it was index.html or .htm you'll need to rename it to index.php
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #9
    Senior Coder Nightfire's Avatar
    Join Date
    Jun 2002
    Posts
    4,265
    Thanks
    6
    Thanked 48 Times in 48 Posts
    When using php, you're better off using a normal texteditor instead of frontpage, as frontpage can screw your php coding up

  • #10
    Senior Coder missing-score's Avatar
    Join Date
    Jan 2003
    Location
    UK
    Posts
    2,194
    Thanks
    0
    Thanked 0 Times in 0 Posts
    there is a really good one, i fink you can download it from C:\WINDOWS\NOTEPAD.EXE :P j/k

    there is one called scintilla or something like that, http://www.scintilla.org. Ive heard it is very good. I use dreamweaver for PHP as i like the colouring.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •