Jump to content

revraz

Members
  • Posts

    6,911
  • Joined

  • Last visited

    Never

About revraz

  • Birthday 10/08/1966

Profile Information

  • Gender
    Male
  • Location
    Sitting in Kabul Afghanistan

revraz's Achievements

Member

Member (2/5)

0

Reputation

  1. You should be checking your query's each time you execute them for errors.
  2. You don't say what the actual problem is.
  3. Set a session in your login.php and then check that session variable on your other pages to determine if they are logged in or not.
  4. I would suggest posting in the freelance section and get someone to do it for you. Plenty of people are willing to help out.
  5. Also found in the FAQ Section of the Forums http://www.phpfreaks.com/forums/index.php?topic=95867.0
  6. Do you have a space in your email address? Paste the echo.
  7. This is what your query looks like: Select movie_name, movie_typefrom moviewhere movie_year>1990 order by movie_type
  8. And what is the URL that brings you to this page?
  9. So you are storing your password in plain text?
  10. What are you trying to accomplish here? $query = "SELECT ip, username FROM users WHERE ip<>'$ip' AND username<>'$username'";$result = mysql_query($query); while($row = mysql_fetch_assoc($result)){mysql_query("INSERT INTO users (ip, username, password) VALUES('$ip', '$username', '$pass')"); $msg="You registered successfully!"; $window="login.php"; Also, you should count rows that are returned and use IF statements instead of GOTOs, would much more standard.
  11. If you only need to work with that data that you pulled, then yes, you can close the connection to the DB.
  12. Huh? You have to pull it from the DB to populate the Array. After that, you reference the Array.
  13. Could just process the form on the same page, or set a session variable and when you return back to the signup page display the error.
  14. Can you post the actual SQL error? And why don't you just use the MySQL NOW() for current date/time?
  15. I think he wants the SUM, so why not just add them together?
×
×
  • 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.