Jump to content

pick the fights

New Members
  • Posts

    4
  • Joined

  • Last visited

    Never

Everything posted by pick the fights

  1. Sorry, i'm not good enough for know where that is. i didn't write the code. i can give you the whole php file, but it's pretty big. if you feel like looking at it, it's attached now. any help would be appreciated but i understand if it's too big to go through. thanks, [attachment deleted by admin]
  2. somebody wrote this script for me. it allows my users to submit some text that shows kinda like a forum post. problem is, when they submit it, it uploads to the database, but does not show on the webpage unless i manually refresh the page after it is submitted. i would like it to show once the submit button is clicked just like it does on forum replies and such. Here is the code he wrote, i'm hoping someone can tell me what to add to it or take away from it or what to change to make it work. thanks, <iframe src="http://pickthefights.com/smack/?id=<?php echo $idvar; ?>&smack=yes" width="300" height="100">;Your browser does not support iframes.</iframe> <form name="smack" method="post" action="http://pickthefights.com/smack-reg/" target="_blank" name="smack" > <input type="hidden" value="<?php echo $_SESSION[uid] ?>" name="session" > <input type="hidden" value="<?php echo $idvar ?>" name="idvar" > Smack Talk : <input type="text" name="comment" > <input value="Smack" type="submit" name="smack"> </form> this is also part of the code: $_SESSION[uid]=$uid; $pool_id = mysql_insert_id(); $idvar = $_REQUEST["id"]; $smackvar = $_REQUEST["smack"]; $allvar = $_REQUEST["all"]; $event_id = $_POST['event_id']; $fight_id = $_POST['fight_id']; $fighter = $_POST['fighter']; $game_type = $_POST['game_type']; $end_event = $_POST['end_event']; $game_type = $_POST['game_type']; $roundpicks = $_POST['roundpicks']; $methodpicks = $_POST['methodpicks'];
  3. does this help at all $_SESSION[uid]=$uid; $pool_id = mysql_insert_id(); $idvar = $_REQUEST["id"]; $smackvar = $_REQUEST["smack"]; $allvar = $_REQUEST["all"]; $event_id = $_POST['event_id']; $fight_id = $_POST['fight_id']; $fighter = $_POST['fighter']; $game_type = $_POST['game_type']; $end_event = $_POST['end_event']; $game_type = $_POST['game_type']; $roundpicks = $_POST['roundpicks']; $methodpicks = $_POST['methodpicks'];
  4. Hello All, i could really use some coding help. I have a form that users use and submit. i'd like the page to refresh and show the new data when submit button is pressed however, right now it only shows when i manually refresh the page. here is the code, can someone please tell me what to add or take away to make it work. thanks <iframe src="http://pickthefights.com/smack/?id=<?php echo $idvar; ?>&smack=yes" width="300" height="100">;Your browser does not support iframes.</iframe> <form name="smack" method="post" action="http://pickthefights.com/smack-reg/" target="_blank" name="smack" > <input type="hidden" value="<?php echo $_SESSION[uid] ?>" name="session" > <input type="hidden" value="<?php echo $idvar ?>" name="idvar" > Smack Talk : <input type="text" name="comment" > <input value="Smack" type="submit" name="smack"> </form>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.