Jump to content

.josh

Staff Alumni
  • Posts

    14,780
  • Joined

  • Last visited

  • Days Won

    43

Everything posted by .josh

  1. Yeah, but this is his first and only post; he wouldn't really have known what this forum could offer him. =P And if you don't realize that PHPFreaks might, just might, have something to do with PHP, you need to think a bit harder. Perhaps he actually used the search function to see if what he was looking for was already asked? I know, that sounds impossible, but we do have a few documented cases of people actually doing that.
  2. .josh

    Porn Site

    People keep saying I'm a procrastinator. I dunno what that means. One of these days I'll get around to looking it up...
  3. He said it was a mistake, not an accident. Mistake can for instance imply that he thought this place would offer him something but failed to deliver.
  4. .josh

    Porn Site

    helloooo....munchkin land...
  5. .josh

    Porn Site

    20 midgets gangbang a 2 headed goat gogogogo
  6. .josh

    Porn Site

    sorry dropfaith, no porn links allowed.
  7. 2nd one. We move forward in time, so anything you want removed before now (or whenever) would be less than now (or whenever)
  8. If you can't figure out how to break that up into several files, what makes you think you are ready to jump into databases? No offense, but I think you probably need to start out with square one: a "hello world" tutorial. Actually, you probably need to start with learning HTML first.
  9. We don't do people's homework for them. Thread closed.
  10. <?php $to = ($_POST['to'])? $_POST['to'] : 'bob'; ?> <form action = '' method = 'post'> Enter something here: <input type = 'text' name = 'to'> <input type = 'submit' value = 'submit'> </form>
  11. This sure would be a bad time for <insert your favorite terrorist country> to decide to drop nukes on us.
  12. .josh

    Porn Site

    Yeah whatever Do you know her? Lemme guess: for $2.99 a minute, we can know her, right?
  13. Yes, move it outside the public_html directory. Yes, that will still allow files in the public_html to include them.
  14. You could chmod them all to only allow server to access them, or store the directory below public_html
  15. Putting your money in the stock market is a form of gambling. You just have a million and one ways to do it to minimize the risk. But at the end of the day, you never know what tomorrow will bring.
  16. well it should have worked. Implode only cares that the argument is an array. It doesn't matter what the array keys are. So if it "didn't work" then it was something else.
  17. or you can go ahead and put the numbers in the [] you don't have to for the php implode to work, but you don't not have to, either.
  18. are you naming your checkboxes as an array called genres? example <input type = 'checkbox' name = 'genres[]' value='whatever'> <input type = 'checkbox' name = 'genres[]' value='whatever'> <input type = 'checkbox' name = 'genres[]' value='whatever'>
  19. $2k. There's a k at the end of that. As in $2,000. Yes, earning extra money from the stock market sounds like a cool thing. That's why decided to try it. But I said I felt it wasn't worth it because $2k isn't a whole lot of money to start out with. So it stands to reason that if I had more money to play with, I might enjoy it more.
  20. .josh

    Porn Site

    LoL...why do I get the feeling you were inspired by Zack and Miri Make a Porno?
  21. http://www.phpfreaks.com/page/forum-rules
  22. What does being a programmer have to do with playing the stock market? Are you asking what kind of technology related stocks do we, as programmers, tend to go for? Anyways, a couple years ago I decided to try my luck at the stock market. I invested $2k into it. Decided that it wasn't really worth it unless I had significantly more money to start with and sold what I had. My programming skills had no influence on what stocks I chose to buy/sell.
  23. dunno what the rest of your code looks like, so you may have to alter this a bit, but basic idea is implode the checkbox array to make a comma/quote separated string of the selected genres and then use the IN() comparison function: $genres = implode("','", $_POST['genre']); $query = "SELECT songName FROM tablename WHERE genre IN('$genres')"; echoing $query should for instance look like this: SELECT songName FROM tablename WHERE genre IN('Jazz','Rock','Blues')
  24. How/why is it being stored with numbers like that in the first place? Can't you add line breaks to it when you initially store it?
  25. chmod
×
×
  • 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.