paulmo Posted November 14, 2008 Share Posted November 14, 2008 this is not connecting to mysql database; help please: ini_set("display_errors", 1);error_reporting(E_ALL); $link = mysql_connect('xxxx', 'xxxx', 'xxx'); mysql_select_db("xxxxx")or die(mysql_error()); $name = mysql_real_escape_string($_POST['name']);$theme = mysql_real_escape_string($_POST['theme']);$query = "INSERT INTO `interactive` VALUES ('$name'; '$theme')");$query.= " ( ' ".$name."', ' ". $theme."', '".$web. " ')";$result = $database->query($query); Link to comment Share on other sites More sharing options...
Synook Posted November 15, 2008 Share Posted November 15, 2008 What is the error? Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.