Odd MySQL Glitch - Php?

taylor s

New member
I recently moved to a Virtual Private Server on GoDaddy - and I can't seem to find out why this odd glitch happens.

Here is my code:

mysql_unbuffered_query("INSERT INTO `bluecir4_mmonline`.`user_images` (
`id` ,
`userid` ,
`itemid` ,
`image-code` ,
`approved`
)
VALUES (
NULL , '" .$info[0]. "', '" .$nextid. "', '" .md5($nextid). "', '0'
);");

mysql_unbuffered_query("INSERT INTO `bluecir4_mmonline`.`user-items` (
`id` ,
`name` ,
`description` ,
`creator_name` ,
`creator_id` ,
`timestamp` ,
`hidden` ,
`deleted` ,
`price` ,
`render_color` ,
`forsale`
)
VALUES (
NULL , '" .$_POST["name"]. "', '" .$_POST["desc"]. "', '" .$info[2]. "', '" .$info[0]. "', '" .time(). "', '" .$_POST["hidden"]. "', '0', '" .$_POST["price"]. "', '" .$_POST["color"]. "', '" .$_POST["forsale"]. "'
);
");

See, only the image is inserted into the database. I don't know why, but it is really messing with my application. I want them both to run not just the first one.
 
Back
Top