![]() |
Poll System, page blank. :/
PHP Code:
sql Code:
None of it outputs anything. -_- I suck at making MySQL Applications. BAH! |
Orc.. it's fine that you're looking for support for your codes, but you don't have to PM me everytime you create a new thread.. I'm sure people will find their way to the thread anyways :-P
|
Quote:
|
sql Code:
First off, this is honestly no way to make a poll. Your title should be varchar(255), options should be a longtext and as for amount, I seriously don't know what you want with this one. Do not be scared of making more tables. A poll can easily take up 2 or more database tables. First the cats, then the poll itself, the options and the votes and so on. Maybe even a configurationtable for the options. I would first have to know what is in your database and how it is composed. I do not think this is the right approach. You keep checking if there is data but the poll can't exist without data, so the checks are useless. Make sure you do not use the $_GET['id']. Or only when it's directly linked to. That'll be OK. I think your first step it to take it from the ground up again and make sure every time you echo something making sure the script is working. Quote:
|
Quote:
|
Quote:
And secondly, I think it's the wrong way to go to PM everyone on the forum to get attention to their thread. It's a forum, so everyone will read it eventually anyways! Lastly, I was really in a hurry to my tap lesson, so even if I could help him, I didn't have the time! 8-)8-):-D |
1 Attachment(s)
I've built a poll system some time ago. Perhaps it could help you in some way... I've attached it if you need to document.
|
Quote:
Orc, if it doesn't work out and IF you have MSN, you can add or email me on markernstproductions@gmaill.com or info@markernst.com. Hopefully you'll work it out on your own, since that provides the best insight and experience. ;-) Feel free to contact me non the less. |
Quote:
|
That's the spirit! Hopefully you'll post the result? If you're still kinda new to the mySQL scene, you could try expanding the poll script to learn new techniques.
|
Quote:
|
I would try to expand this script by including an admin panel: allows you to use DELETE * FROM etc :)
|
Quote:
|
Not yet please, allow me to make what I need first.
|
Just a note on varchar, the max length if 255 so don't put any values above it. For larger text, use the text type.
|
Quote:
|
|
Quote:
Quote:
And LongText is suppose to be longer some how than Text :P |
| All times are GMT. The time now is 07:43 PM. |
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0