Page 2 of 2
Posted: Sun Dec 10, 2006 12:32 pm
by neel_basu
Add
echo "Your IP".$visitor_ip."&Mysql_NUM_ROWS".$num_rows."!";
Before
echo "Hello You Are Already Voted";
And tell Me Ehats It Showing
==================================
Its For Testing Purpouse
=================================
Posted: Sun Dec 10, 2006 12:33 pm
by nickman013
Ok next time I will be sure to say, and "Now Borats Code" becasue you helped so much, I was just inferring it as my code becasue I am using it, therefore Its mine? Neel made it for me...
And yes I checked that the IP was insterted into the table.
Posted: Sun Dec 10, 2006 12:35 pm
by nickman013
Your IP68.195.134.89 &Mysql_NUM_ROWS 2!
Posted: Sun Dec 10, 2006 12:36 pm
by neel_basu
Did You Added Thaat Line
Run It And Test It
And tell If There Is any Error Message.
And Also Tell Me The Out Put
Posted: Sun Dec 10, 2006 12:37 pm
by neel_basu
Ya I Have Got It
Posted: Sun Dec 10, 2006 12:37 pm
by aaronhall
nickman013 wrote:Your IP68.195.134.89 &Mysql_NUM_ROWS 2!
So after looking at your if statement, considering that mysql_num_rows equals two, what appears to be wrong?
Posted: Sun Dec 10, 2006 12:38 pm
by neel_basu
Replace This
if($num_rows == 1)
With
if($num_rows >= 0)
Posted: Sun Dec 10, 2006 12:41 pm
by nickman013
thanks alot!!!!!!!!
Posted: Sun Dec 10, 2006 12:45 pm
by neel_basu
But Its Not Fair
That There Will Be 2 IP Addresses In Under That Field
Cause Its Based On A Voting System As Uou Told
Posted: Sun Dec 10, 2006 12:48 pm
by aaronhall
nickman013 wrote:Ok next time I will be sure to say, and "Now Borats Code" becasue you helped so much, I was just inferring it as my code becasue I am using it, therefore Its mine? Neel made it for me...
And yes I checked that the IP was insterted into the table.
Also, I wasn't at all referring to my contribution, but to your lack of contribution to the script. For someone with as many posts as you have, who has apparently been programming for so long, I'm astonished at how dependent you are on other peoples' generosity in writing code for you, and also your attitude toward people who are trying to help you, or complete disregard for it. I hope for your sake that you consider picking up a book, or reading a tutorial, and begin to try learning these things for yourself.
Posted: Sun Dec 10, 2006 12:54 pm
by nickman013
high five
Posted: Sun Dec 10, 2006 12:58 pm
by aaronhall
oh well

Posted: Sun Dec 10, 2006 1:05 pm
by John Cartwright
aaronhall wrote:oh well


Posted: Sun Dec 10, 2006 1:09 pm
by neel_basu
Ha ha Its Funny
Cartoon Show In PHP Forum I Like To See Cartoons