Jump to content

trq

Staff Alumni
  • Posts

    30,999
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by trq

  1. Flash? Really?
  2. You'll need to be a lot clearer in your explanation I'm afraid.
  3. I fail to see what that has to do with this thread, but people are most likely just ignoring you. That tends to happen when you don't actually listen to the advice given out by people volunteering there own time.
  4. This reply I posted 6 years ago describes a similar enough concept.
  5. Walk away from your computer.
  6. This type pf functionality is best suited to a client side language such as JavaScript rather than a server side language such as PHP.
  7. That sounds far more likely to be a JavaScript issue.
  8. I hope you take the train/bus! :-P Indeed, the train.
  9. People have woken up to what a crap OS windows is. Plus Apple are a great marketing company. I would say so. On my commute to work I see a lot of people using laptops, I would estimate 80% of these to be macs.
  10. The structure you describe in the initial part of your post is indeed added by the Debian packages. Compiling Apache yourself does not provide this same structure. I'm not sure what you mean exactly by *staging*. What exactly are you trying to do? Does the directory /home/apache2.4/enabled exist ?
  11. This line: $output = shell_exec('expiry '$_POST['domains']''); will produce an error. Do you have error reporting enabled? You should always when developing. On top of that, that one line of code opens a pretty large security hole.
  12. PHP should not be stored within a database.
  13. Then use the MARK SOLVED button so as to not waste our time.
  14. This topic has been moved to Application Design. http://forums.phpfreaks.com/index.php?topic=364598.0
  15. What is your question then?
  16. Your script is riddled with syntax errors. I'd start by fixing those.
  17. Where exactly?
  18. I would use the $key when making your form, that way you know things are going to be held together as they should be: echo '<div id="content_title"><label for="title[' . $row['id'] . ']">Title:</label></div>'; echo '<div id="content_box"><input name="title[' . $row['id'] . ']" type="text" id="title[' . $row['id'] . ']" value="' . $row['title'] . '" /></div>'; echo '<div id="content_title"><label for="price[' . $row['id'] . ']">Price:</label></div>'; echo '<div id="content_box"><input name="price[' . $row['id'] . ']" type="text" id="price[' . $row['id'] . ']" value="' . $row['price'] . '" /></div>';
  19. Are you sure that $key matches up with your ids? Your not using your ids in your initial form creation code.
  20. Hmmm... foot in mouth?
  21. Can you post some relevant code? It's pretty hard to even know what your talking about.
  22. You need to use the $key to get the index of the price. foreach ($_POST['title'] as $key => $value) { $title = $value; $price = $_POST['price'][$key]; // execute your query }
  23. This resonates with me more than anything else. http://blog.sanctum.geek.nz/series/unix-as-ide/
  24. My main motivation for working in vim is the fact that we do allot of remote stuff via ssh on client machines at work. So, now I can use the same editor under all circumstances. Even when I work from home, it's so much easier to just connect to the vps, ssh in and open vim in a terminal. I don;t have to worry about the overhead of a Desktop.
  25. Have you tried an IDE? I used to think a simple text editor was all I needed too, but then I tried an IDE. The only time I use a regular text editor now is just for real quick edits, or stuff that I don't want to make into a project in my IDE. IDE's tend to get in my way. All I use is vim with a few plugins: https://github.com/tpope/vim-pathogen https://github.com/tpope/vim-fugitive https://github.com/tpope/vim-unimpaired https://github.com/vim-scripts/taglist.vim https://github.com/vim-scripts/sessionman.vim https://github.com/vim-scripts/bufexplorer.zip https://github.com/tpope/vim-surround https://github.com/vim-scripts/FuzzyFinder
×
×
  • 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.