Hey guys, Ok, so I have checked out the refrences and so on and im not having any luck updating my db. It works updating one column per id but I just cant seem to get it to work for all 3. here is the one that works.
...........................
$sql="INSERT INTO profiles (mem_id, photo, photo_med, photo_small) VALUES ('$_POST[mem_id]','$_POST[photo]','$_POST[photo_med]','$_POST[photo_small]') ON DUPLICATE KEY UPDATE photo='$_POST[photo]'";
...........................
Now, its the photo_med and photo_small i can not get to update, I have tried a few different ways from the mysql refresnce and no such luck, anyone have a solution?
Thanks