Jump to content

PakiGangsta

Members
  • Posts

    28
  • Joined

  • Last visited

    Never

Everything posted by PakiGangsta

  1. [!--quoteo(post=381231:date=Jun 7 2006, 08:01 PM:name=poirot)--][div class=\'quotetop\']QUOTE(poirot @ Jun 7 2006, 08:01 PM) [snapback]381231[/snapback][/div][div class=\'quotemain\'][!--quotec--] The query shouldn't be executed more than once; there is no need to abort the execution of the script. Remember that die() will abort the entire script's execution. [/quote] fixed it and thanks for all the help i knewed it was the problem in die();
  2. so shoul i take out the die cause wouldnt that stop the query to do it again or no [!--fonto:Times New Roman--][span style=\"font-family:Times New Roman\"][!--/fonto--] fixed it :) thanks :D[!--fontc--][/span][!--/fontc--]
  3. Alright i have this as my code and it only deletes only one and that is it. [code] $box=$HTTP_POST_VARS['pm']; $box_count=count($box); foreach ($box as $dear) { $del="DELETE FROM PM where ID='$dear'"; mysql_query($del) or die("Could not delete message"); echo "All selected private messages are deleted."; include 'footer.php'; die(); } [/code] Please help me.
×
×
  • 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.