Recent content by toontow7

  1. T

    Registation PHP

    Changed it. [05-Oct-2014 16:51:38 America/New_York] PHP Warning: mysqli_query() expects at least 2 parameters, 1 given in /home/toontow7/public_html/mysql_login/registerform.php on line 12 [05-Oct-2014 16:51:38 America/New_York] PHP Warning: mysqli_error() expects exactly 1 parameter, 0 given...
  2. T

    Registation PHP

    Ok well, it fixed, but it dosnt seem to insert ANYTHING into the database.
  3. T

    Registation PHP

    But what is my database? my database username?
  4. T

    Registation PHP

    Ok, IDK how to fix this. I tried mysqli_connect, and now its saying that it cant connect to the database. you said something about getting rid of the POST. Then what do i use? do i do mysqli_query? do i do any other mysqli_xxx() functions? And i got access denied. Tell me what i need to fix...
  5. T

    Registation PHP

    Ok, but when i use the mysqli_xxx() functions, they ask for additional parameters, and even when i do fix the typo NOTHING is showing up.
  6. T

    Registation PHP

    Ok, well i did if(isset($_POST['username'] && isset($_POST['password']) && isset($_POST['fname']) && isset($_POST['lname']) && isset($_POST['email']))) { Dosnt really fix anything, it has the same results. Heres my whole code now: http://pastebin.com/Wpn65zZ2 And, i was going to hash my...
  7. T

    Registation PHP

    I Have All This: http://pastebin.com/ahYqAFyc But for some reason, NOTHING shows up. http://www.toontownunlimited.x10.mx/mysql_login/register.php Whats The Problem?
  8. T

    PHP Login Servers

    Awsome Thanks Man! It works perfectly now!
  9. T

    PHP Login Servers

    <?php $username = "myusername"; $password = "mypassword"; $hostname = "localhost"; $databasehandle = mysql_connect($hostname, $username, $password) or die("Couldn't Connect to the database!"); $selected = mysql_select_db("login", $databasehandle); $myusername =...
  10. T

    PHP Login Servers

    I get this when I do die(mysql_error()); "No database selected" same as if I remove the ` ` from the query. EDIT I added a USE $hostname to my query, i got this: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use...
  11. T

    PHP Login Servers

    So, i still havent solved the problem. I dont know whats wrong.... dosnt seem like anything's wrong. It works on the my localhost xampp phpmyadmin.
  12. T

    PHP Login Servers

    Well, first when i do mysqli_xxxx, it gives me a bunch of errors, saying i need more parameters. Second of all, if i do mysql_xxx, It gives me that one error. The query dosnt seem to have anything wrong with it: $query = "SELECT * FROM `users` WHERE `Username`='$myusername' and...
  13. T

    PHP Login Servers

    I created one, but i got this: [02-Oct-2014 18:43:04 America/New_York] PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/toontow7/public_html/mysql_login/login.php on line 19
  14. T

    PHP Login Servers

    How do you create a new database user in cPanel?
  15. T

    PHP Login Servers

    Actually, it works now, but it dosnt seem my PHP server is working. The username and password row i created is not working. it registers the database, but dosnt register information. IK this code works.
Top