Well, learning PHP, HTML, SQL, and combining them all together could be a long project.
Let’s see, first Google is you buddy, Google is your friend… Learn how to search for things and you will succeed. When stuck, post your question here. When posting here, keep the details and question simple. So, if you have a little code that you are stuck on, post it and show us the error.
Let’s start with SQL and databases. Making them into PHP is fairly easy. But, since you only understand SQL, you have to start from scratch… This is what you will need to learn.
-
HTML - You need to create a form for your voting page. This will include all of your info you want the user to input and some options, such as what they are voting for. And, how to make it “pretty” and neat looking.
-
PHP - The form on the html page will “post” to the PHP file which will handle all the work and display the results. You need to learn how to connect to the database, read from the database and write to the database. This is easy to do with SQL queries.
So, use your buddy Google and search for things like “PHP database connection sample code”, etc…
Search for each part of your project and create a project plan. Also, search this site for answers, too. Other people have asked most of these questions before! Then, when stuck, ask us questions…
That is all I can do to get you started… Good luck!