Jump to content

Not sure how to use PHP


emcne16
 Share

Recommended Posts

This is on another forum section, but I haven't recieved a reply from the person who helped me so I'm going to post it here too So I'm trying to do a little voting box under certain things under my website (the radio voting one) and I can easily get the little dots with Like & Dislike, but I can't figure out how I would make it so that the person can enter the vote and then see how many dislikes and likes it got. I honestly don't know much about html/css and have never heard og PHP before so I'm a beginner, I did a few classes on it but it was VERY basic stuff and nothing like is being mentioned on here. I did find a code for one I would like, but I was unsure of how to add it to my website (weebly if it helps I'm attemping to use the Thumbs Up, Thumbs Down one, where it shows the number of votes for each one. Or the mini poll, which one would be easier seeing as I have almost no experience?\ I was told this, but I was unsure of what it meant or how to do it.

You'll need to do some very basic server-side scripting. For a simple task like that, a few lines of PHP will do the job. You can even save the data to a file and not have to learn anything about a database. It can be done without AJAX, which means a little Javascripting as well, but the effect will be a lot more user-friendly. Briefly explaining your skill-level in those technologies would be a good next post.
Thankyou!
Link to comment
Share on other sites

The thumbs up package seems to use all those technologies and a database as well. Setting up the database might be the trickiest part for you. The tutorial is actually pretty clear. Maybe you should post more specific questions as you move from step to step. Like, tell us exactly where you are in the process and exactly what you're stuck on.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...