|
Posted by Kimmo Laine on 02/17/07 07:03
matthud@gmail.com kirjoitti:
> //GET INSERTED CHUNK ID
> $getid = mysql_query("SELECT id FROM chunks WHERE chunk = '$chunk'");
> $idrow = mysql_fetch_array($getid, MYSQL_ASSOC);
> $chunkid = $idrow["id"].",";
>
>
> $eachtag = explode(",", $tags);
> foreach($eachtag as $key=>$value) {
> For some reason, this code:
>
> $updated = $row["chunks"] . $chunkid;
Where does $row come from? Earlier in the code you use $idrow. Try
echoing the value of $updated and print_r($row);
--
"En ole paha ihminen, mutta omenat ovat elinkeinoni." -Perttu Sirviö
spam@outolempi.net | Gedoon-S @ IRCnet | rot13(xvzzb@bhgbyrzcv.arg)
[Back to original message]
|