hi,
i am trying to upload an image with comment......!!
mycode is like below......
if($_POST){
getting posted variables for comment
mysql_query(adding into database);
if(image is posted){now getting image variables
mysql_query(inserting into database);
}
}
if works fine for me but problem is that i have two different tables one for comment and one for image........!! i want to add current user id also into image table but it is not passing to table but rest of code is working all the way fine..........!! how can i do that