Page 1 of 1

inserting value implicity

Posted: Sat Oct 22, 2005 8:46 am
by rami
i was trying to post this topic in request tutorial or code but as there are no such section i am doing it here
sorry ..

any way
suppose there is link
a user logs in and he has user_id in database table and referred as $row['userid'] in promgramming after select
suppose there is link
a href=postnews.php?uid=$row['userid']...

and can some body tell me how can i implicity insert this userid of table
suppose table has user_id,name,news field
i take name and news through text boxes in next page form
but how can i implicitly insert that userid taken from earlier page

any quick guide ,code snppnet,tutorial link,tutorials,pages would be g8
thanks
rami

Posted: Sat Oct 22, 2005 9:01 am
by feyd
provided the currently executing script has access to this "previous" variable (do not rely on the referrer giving it to you), then you simply add it to your insertion query... however, I may have completely misunderstood your post.. :?