Posted by McGowan on 01/27/07 12:41
Hey, I'm wondering how I can get an update statement to work with data
being passed through the URL. the problem is that the statement needs
to work no matter what table is being worked on as any table must be
able to be processed by the same page.
The problem is that I can't use $_GET['field_name'] because I dont
know what the field name is going to be. Also I do not know what field
is going to be the primary key so I don't know how to get the 'where'
statement to work properly.
I realise there are probably tens if not hundreds of ways of making
this work but I honestly can't do it.
Thanks,
Oliver
Navigation:
[Reply to this message]
|