
July 17th, 2003, 09:29 PM
|
|
Junior Member
|
|
Join Date: Jul 2003
Posts: 14
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
Help With Polls
hi. i'm kind of new to this whole php/mysql stuff. i read the devarticle by mitchell on polls, but it does not work for me. when i try to add a new poll, i input a question, and at least two answers, but i always get the two errors about not entering a title and not entering at least two questions. i'm wondering if maybe my information is not getting passed to the function somehow. but i used his script exactly. i am using my friend's web space, and when i input information using forms, i need to do something like:
$question=urlDecode($HTTP_POST_VARS["question"]);
to get the value of the variable question on the previous page. so i'm wondering if something like that is the cause of my problem or something entirely different. i have tried using that type of code for the variables $question and $answer1-5 before and after the global declaration but i still get the same errors.
any help or referral to maybe a different tutorial would be great. thanks.
oh and does anyone know what:
global $HTTP_GET_VARS
means?
Thanks again.
Last edited by jwfc : July 17th, 2003 at 09:31 PM.
|