Jump to content


  • Posts

  • Joined

  • Last visited


About thewooleymammoth

  • Birthday 09/09/1989

Contact Methods

  • AIM
  • Website URL

Profile Information

  • Gender
  • Location
    San Luis Obispo Ca

thewooleymammoth's Achievements

Advanced Member

Advanced Member (4/5)



  1. I have no idea what this site does, Why is it different than other blogging sites? a sample username/login would be nice.
  2. You may need to be a bit more specific on what you mean?
  3. i must have been tired when i wrote that. If you're worried about security i would check to make sure it is set. isset doesnt take up a ton of resources. Unless you have a server thats about to explode i really wouldnt worry about a couple extra checks.
  4. ok well then that seems good as far as checking if those things exist.
  5. what are you doing with the errors array if there is an error? If you just want to declare that there was an error the array may not be necessary. <?php $error = ""; if(!isset($_POST['comment'])) $error = "No comment was entered. <br />"; if (!isset($_SESSION['articleID'])) $error .= "There was no article ID. <br />" if (!isset($_SESSION['memberID'])) $error .= "There was no member ID. <br />" if(strlen(error) > 0){ echo $error; //handle the error here. }else //add the comment. ?>
  6. It seems ok. It kind of depends on what your doing exactly.
  7. Im not sure i understand your question, but if you already have the values you want in a variable and don't want the user to change them, then there is no reason to populate a form with them. Just use the values you have.
  8. also why are you causing it to sleep for 2 seconds? that doesn't seem like a very efficient idea.
  9. so when you perform a blank search, you want it to fetch all the results from your database and its only returning one result?
  10. http://w3schools.com/php/default.asp I dont think there is anything wrong with that code. I would make sure your knowledge of basic php is up to snuff. If that is not runnign right you might have to post more of the code so i can see what else is going on that could be screwing it up.
  11. I havn't ever actually used that function, but from what i read here http://php.net/manual/en/mysqli-stmt.bind-result.php it looks like you would be ok to not check them. I would recommend just taking out the checks and trying it out with values (or lack of values) that you know may screw it up.
  12. I think this is what your looking for... <?php if ($News_1_Status=="Y"){ ?>//removed echo and added this. <div class="newstitle" align="left"><?php echo $News_1_Date;?> <a href="<?php echo $News_1_URL;?>"><?php echo $News_1_Name;?></a></div><br>; <?php }else echo "Have a nice day!"; ?>
  13. the register works, and i can move places? i think? a map would be good. Also, You could really benefit from some css in the main area. playing kind of reminds me of reading server logs. Seems like it's a decent start though, just got to keep plugging away.
  • 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.