Jump to content

Entanio

Members
  • Posts

    16
  • Joined

  • Last visited

    Never

Everything posted by Entanio

  1. Simply, Put: displayVideos(*cat name*) and in your function: function displayVideos($cat){ $data = mysql_query("SELECT * FROM videos WHERE category='$cat'") or die(mysql_error());
  2. I would guess to display the link you have something like: if($money_receive => time()){ echo "... money_claim.php"; } Why not just put this in the "money_claim.php" file?
  3. You can post a form automatically through PHP. That is PHP does it when the user opens the page and no-one has to press a submit button.
  4. Try putting: "/includes/... .php" Because I think the first "/" means web root.
  5. So do I, lol. No, I think it will
  6. You have to make sure that all the pages that require a login have $_COOKIE['VARIBLE'] instead of $_SESSION['VARIBLE'].
  7. Use cookies instead of the Session. So just set the $_COOKIE['USERID'] instead of $_SESSION['USERID']. In an unrealted subject it is good practice to put single quotaion marks in $_SESSION, $_COOKIE etc. So, for example it would be $_SESSION['USERID'] not $_SESSION[uSERID].
  8. I don't know how to do this myself, but I found this. http://verens.com/archives/2008/04/03/translation-in-php/
  9. Instead of a form use a link? Like Project fear said, so you would have echo "<a href='menulist.php?busname=" .$row->busname. "' />"; Then on menulist.php: $busname = $_GET['busname']; mysql_query("SELECT ... WHERE busname=" .mysql_real_escape_string($busname). ""); Possible?
  10. You are contradicting youreself here :S You are saying "'npop' has been posted, now if 'pop' hasn't been posted do whatever". Sorry, My mistake, I misunderstood something.
  11. I don't know but I think you should put: $i=0; while($i < $pop){ ... $i++ }
  12. You are contradicting youreself here :S You are saying "'npop' has been posted, now if 'pop' hasn't been posted do whatever".
  13. I am a new user here and hope to be active I know alot about most coding languages, so I will hopefully be able to help alot. Thanks, Entanio
×
×
  • 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.