Announcement

Collapse
No announcement yet.

Ratings using PHP

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Ratings using PHP

    so I was trying to figure out how to make a rating system and I ran across a rating tutorial. This tutorial created a rating system with PHP. I didn't know what the heck PHP was. I still don't. I read through the tutorial, and then I just copied it onto a site. http://www.geocities.com/funklord_to...atingtest.html and um, as you can see it's not too pretty. This is using the exact code from the tutorial, with some technicalities changed. So does anyone know what to add/change?

  • #2
    Add <?php to the very start of your file and ?> to the very end of it
    Dean Clatworthy - Web Developer/Designer

    Comment


    • #3
      Those tags are already in there. You'll have to rename the file from .html to .php, though I'm not 100% sure if geocities even allows that.

      Comment


      • #4
        Right, Geocities does not allow php.

        The page has a parse error anyway.
        "63,000 bugs in the code, 63,000 bugs, you get 1 whacked with a service pack, now there's 63,005 bugs in the code."
        "Before you critisize someone, walk a mile in their shoes. That way, when you critisize them, you're a mile away and you have their shoes."
        Utopia Software - Current Software: Utopia News Pro (news management system)

        Comment


        • #5
          oh, well, I'm just using the geocities page temporarily to be able to show it to you. When everything is in order for my site, I'm going to buy a domain from yahoo. .php will work then? I'm pretty sure yahoo hosting has nothing to do with geocities...

          Comment


          • #6
            parse error?

            Comment


            • #7
              Yeah actually it's loaded with parse errors. Too many double quotes.
              "63,000 bugs in the code, 63,000 bugs, you get 1 whacked with a service pack, now there's 63,005 bugs in the code."
              "Before you critisize someone, walk a mile in their shoes. That way, when you critisize them, you're a mile away and you have their shoes."
              Utopia Software - Current Software: Utopia News Pro (news management system)

              Comment


              • #8
                well as far as the .php extension, I decided to test it out on my server, and it doesn't work. My server's not familiar with PHP apparently, and it refers me to a couple of websites to download PHP, but I don't think that is necessary, is it?

                Comment


                • #9
                  Um yes, you will need PHP installed....
                  "63,000 bugs in the code, 63,000 bugs, you get 1 whacked with a service pack, now there's 63,005 bugs in the code."
                  "Before you critisize someone, walk a mile in their shoes. That way, when you critisize them, you're a mile away and you have their shoes."
                  Utopia Software - Current Software: Utopia News Pro (news management system)

                  Comment


                  • #10
                    really? alright then...

                    Comment


                    • #11
                      um, as for installing... how? (you can't patronize me enough)

                      Comment


                      • #12
                        Originally posted by Bacon Bits
                        um, as for installing... how? (you can't patronize me enough)
                        What OS? I guess you are running Apache? What version of Apache?

                        http://www.apache.org
                        http://www.php.net
                        http://www.mysql.com

                        Comment


                        • #13
                          ahem, let me repeat myself in saying you can't patronize me enough. I have downloaded php-5.0.0b4.tar.bz2 onto my computer what do I do now? Do I need to download an operating system or what?

                          Comment


                          • #14
                            Originally posted by Bacon Bits
                            ahem, let me repeat myself in saying you can't patronize me enough. I have downloaded php-5.0.0b4.tar.bz2 onto my computer what do I do now? Do I need to download an operating system or what?
                            dude you are in more trouble than you know

                            Comment


                            • #15
                              so I figured when you were the only one who replied

                              Comment

                              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                              Working...
                              X