Search results

  1. W

    [PHP] Using it in forms!

    Can you explain how you would do that. Would it be a simple: echo "'$result'"; ?
  2. W

    [PHP] Using it in forms!

    OK I still have problems with that but I did some changes to my register.php page to make it more advanced but in trying to do that I have screwed it up! :dunno: Well here is the code and after that I shall explain what is wrong! <?php require_once "config.inc.php"; $error=""...
  3. W

    [PHP] Using it in forms!

    That doesnt solve the issue. It still brings up the error varriable. And it is bringing up these mysql warnings: Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/warland/public_html/V1/active.php on line 13 Warning: mysql_free_result(): supplied...
  4. W

    [PHP] Using it in forms!

    Yes... you got it in one so what would be the best way to sort this out. As you can tell I'm pretty new to php. So any help would really be very helpful thanks!
  5. W

    [PHP] Using it in forms!

    Well... Im trying to get my registration/login form to work and as you can guess im not having much luck thats why im here! I use very simple php I know but I want it to work before using the more advance php. What is going wrong is on my active.php it is echoing the error varriable when it...
  6. W

    MySQL not inserting into database?

    It still wont insert the data into the database so could someone write me a mysql query incase im doing it wrong. There are 5 fields that go in this order ID, username, password, email, active. This is really starting to annoy me now!!! Edit: Is anyone going to help me? I cant get on with the...
  7. W

    MySQL not inserting into database?

    Please if you can get it to work I can then get on with the rest of the login system.
  8. W

    MySQL not inserting into database?

    I did that and it still comes up with the warning. Im soo confused at the momment LOL!
  9. W

    MySQL not inserting into database?

    Code: <?php if (isset($_POST['submit'])) { $pass=$_POST['pass']; $user=$_POST['user']; $email=$_POST['email']; } else { register(); require_once "footer.php"; exit; } $result= mysql_query("SELECT * FROM 'login' WHERE (username = '$user')"); $check=...
Top