![]() |
thanks assassin, you've been a great help, i've got to final stages of this end of things, which means it'll be fully usable soon, all bar one thing, in my script, i'm processing the ratings via
PHP Code:
|
If you're implenting this into vB, you'd want to do something like:
PHP Code:
|
sorry assassin, that was experimental code, heres what i was doing properly
PHP Code:
ps. this is just the form processing, the actual form display elsewhere in the document. heres the link to where this is all happening http://www.ebslive.com/confessions/i...onfessionid=49 |
HTML Code:
<form method="post" name="confess_rate" action="?do=voting"> |
lol, i was standing in the kebab shop when i finally got what you meant, thanks steven, took me all day but i got there in the end, gonna try it now :)
|
Quote:
Hope it goes ok. |
got the code down from 25 lines to 17 but it's still not working, i think this is down to the actual form rather than the coding tho.
PHP Code:
|
*takes time away from his new hack*
Try using: PHP Code:
Code:
<form action="pagehere.php" method="post"><input type="hidden" name="s" value="$session[dbsessionhash]"> Also, use the standardredirect function instead of header("locaion:"); |
i'm getting so close to giving up on this, i dunno what's wrong with it, i've tried so many methods, but it's not passing to the database, infact i get the error i set up to say the vote cannot be processed :(
PHP Code:
|
edit, it was such a stupid mistake
HTML Code:
<input type="hidden" name="$confessionid"> HTML Code:
<input type="hidden" name="confessionid" value="$confessionid"> |
All times are GMT. The time now is 01:29 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|