[05-Oct-2014 16:51:38 America/New_York] PHP Warning: mysqli_query() expects at least 2 parameters, 1 given in...
Ok well, it fixed, but it dosnt seem to insert ANYTHING into the database.
But what is my database? my database username?
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...
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.
Ok, well i did
if(isset($_POST['username'] && isset($_POST['password']) && isset($_POST['fname']) && isset($_POST['lname']) &&...
I Have All This:
But for some reason, NOTHING shows up....
Awsome Thanks Man!
It works perfectly now!
$username = "myusername";
$password = "mypassword";
$hostname = "localhost";
$databasehandle = mysql_connect($hostname,...
I get this when I do die(mysql_error());
"No database selected"
same as if I remove the ` ` from the query.
I added a USE $hostname
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.
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...
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...
How do you create a new database user in cPanel?
Separate names with a comma.