Jump to content


  • Posts

  • Joined

  • Last visited

Profile Information

  • Gender
    Not Telling

xwishmasterx's Achievements

Advanced Member

Advanced Member (4/5)



  1. Hello I am having problems setting some security to a prize page on my website. What I need, is to make sure that a user cannot just refresh and get the price again. The price page is loaded in a frame so redirection is no good, and that doesn't stop the user from just hitting the "back" button and then refresh. Anyone have an idea how to do this the simple way?
  2. I am doing a simple query where more than one row could be returned. I cannot see a way for the rest of my code to work using the "while $row= ...". Is there another way to fetch more than one result?
  3. I have the below code wish I wish to add 12 hours to: $today = date('D', mktime(0,0,0,date('m'),date('d')+0,date('Y'))); anyone to show how I add 12 hours?
  4. I have the code below to output a list: while ($row = mysql_fetch_array($rs_teambydate)) { echo "<tr><td width='200'>".$row['team_name']." (".$row['members_count'].")</td><td><input type='submit' name='".$row['team_name']."' value='Plunder'/></td>"; } This is all inside a form so I can use the following to get various includes: <? if(isset($_POST['".$row['team_name']."'])){ include ('resources.php');} ?> My problem is this part : $_POST['".$row['team_name']."'], as this obviously doesn't work. Anyone know how I can add the "$row['team_name']" inside $_POST[' '] ?
  • 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.