If I was to get a primary key then I would do this:
if (isset($_GET['item_id']))
But if the table had a composite key (2 attributes that act as a primary key), how would I do this? My 2 attributes acting as a composite key are item_id and size_id
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you need to access a row in your database with 2 attributes, then you need to be doing something like:
The other part can’t magically appear unless you provide it in some other way.