-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi everyone,
I'm having some weirdness when inserting from the php api, I do not get
the same results if I use the mysql server directly. Here is the code:
$qry="INSERT INTO news VALUES(NULL, NULL, \"a value\", \"b value\")";
mysql_connect("localhost", "user", "pass");
mysql_select_db("dbmt");
$result=mysql_query($qry);
As you can see, there is nothing special there... So what would cause it
to insert *2* records?
Many thanks...
- --
Nick Wilson // www.explodingnet.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
iD8DBQE9CJKuHpvrrTa6L5oRAmbbAJ9iE9dFziSckl7CBIjDDyYZLYV6uwCeKkcK
9RNFZNtyG1VoVM0WauuFcz8=
=6Vio
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php