Jump to content

revraz

Members
  • Posts

    6,911
  • Joined

  • Last visited

    Never

Everything posted by revraz

  1. Start coding and give it a try based on the logic. It's really not too hard if you just try.
  2. You are still trying to enter only 2 values when you list 3 fields.
  3. Dont see why not. Just have it search based on the Email, verify the PW, then create a new account with the new Username.
  4. Where is this filename stored? In a directory structure, in a database?
  5. But to answer your question <?php // Example use of getenv() $ip = getenv('REMOTE_ADDR'); // Or simply use a Superglobal ($_SERVER or $_ENV) $ip = $_SERVER['REMOTE_ADDR']; ?> http://php.net/manual/en/reserved.variables.server.php
  6. If you paid someone, I'd suggest going back to them and having them fix it.
  7. I believe you actually have to close the handle before it's actually written.
  8. Check out this snippet http://www.phpfreaks.com/forums/faqcode-snippet-repository/multi-column-results/
  9. At least he used you're correctly, which suprised me.
  10. Wonder if LOG is now a reserved word. Try putting `backticks` around it.
  11. Store the actual link in a database. The clickable URL should then route to a page that can pass the "ID" of the URL clicked, reference it in the database, increment the count, then launch the URL. Just a thought off the top of my head how I would go about doing it.
  12. http://www.php.net/manual/en/book.session.php session_destroy session_start
  13. Any help with what exactly? Don't really see a question and no code at all is posted.
  14. You can't really. But you can log the time they view the page and display say the last 3 minutes.
  15. I wouldn't use cookies to determine if you are logged in or not, I would use sessions.
  16. Did you try searching at all for this? I typed in MySql vs postgresql and came up with a ton of results.
  17. Start some code then ask questions to help you along. If you want someone to do it for you, ask in the Freelance section.
  18. For my header display, I just have the URL pass a Sortby key, then read it. <? php if ($_GET['sortby'] == "id") { $query = 'SELECT * FROM boats ORDER BY bid'; } elseif ($_GET['sortby'] == "name") { $query = 'SELECT * FROM boats ORDER BY bname'; } elseif ($_GET['sortby'] == "status") { $query = 'SELECT * FROM boats ORDER BY bstatus'; } elseif ($_GET['sortby'] == "divers") { $query = 'SELECT * FROM boats ORDER BY bdivers'; } ?>
  19. I can see more advantages to having a row id than not having one. It's auto incremented, what can it hurt?
  20. <input type= "submit" name= "submit" value="My Button Name"/>
  21. You only want one table, so just create it in phpmyadmin.
×
×
  • 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.