jtjohnson260 Posted August 18, 2007 Share Posted August 18, 2007 my friend says my database isnt set up on my site. How do i do this? Link to comment https://forums.phpfreaks.com/topic/65544-need-help/ Share on other sites More sharing options...
tippy_102 Posted August 18, 2007 Share Posted August 18, 2007 We're going to need a little bit more information than what you have provided. Since you posted this in the MySQL Help section, I'm guessing you whether or not isp offers mySQL? Did they give you a name and password to access the database? Do you have access to phpMyAdmin (or similar)? Link to comment https://forums.phpfreaks.com/topic/65544-need-help/#findComment-327301 Share on other sites More sharing options...
jtjohnson260 Posted August 18, 2007 Author Share Posted August 18, 2007 Yea I have phpmyadmin. He said it because I got Fatal error: Call to a member function on a non-object in /home/content/z/h/a/zhahaman2001/html/jtjohnson260/register.php on line 46 and the line is if (! $sql->query("INSERT INTO users (username, password, email, date_registered) VALUES ('$username', '$password', '$email, 'NOW'())") ) { Link to comment https://forums.phpfreaks.com/topic/65544-need-help/#findComment-327566 Share on other sites More sharing options...
ILYAS415 Posted August 18, 2007 Share Posted August 18, 2007 look at the reply i posted on the php help forum Link to comment https://forums.phpfreaks.com/topic/65544-need-help/#findComment-327573 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.