works on one server and not another
| From: | Tim Blackwell | Date: | Wed, 09 Oct 2002 19:22:54 +0000 |
| Subject: | works on one server and not another | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16301@lists.php.net to get a copy of this message | ||
this works on a windows XP machine i have but when i put it on a w2kserver
it doesn't work?
<html>
<body>
<?
@ $db = mysql_pconnect("localhost", "", "");
mysql_select_db("database_name");
$query = "insert into table_name values ('".$name."')";
$result = mysql_query($query);
?>
</body>
</html>