PDA

View Full Version : Editing SQL via logged in control panel


craigeves
03-02-2010, 10:45 PM
I have a small question...

I have an admin screen with a link to update the table row in the mysql with new content.

The URL for the event I want to edit is http://www.mysite.com/edit.php?event_id=23

I only want to be able to edit 'event 23' if 'user' is logged in and not another user because the event_id was created by user1.

How is this possible?

edbr
03-02-2010, 11:56 PM
you mean so each member has their own page where they can edit there own data only?