K
|
KevinMillican 9/27/2009 |
I know this sounds weird...
|
W
|
wfcentral author 9/27/2009 |
it's hard to explain, but I do already have linked tables and multiple views going on for several different levels of users. It should be fairly straightforward to create a view that excludes a user's own data. However, I wonder if that's really what you need, rather than a linked table so that people can add additional comments related to another club ? |
J
|
Jane 9/28/2009 |
Hi, $strWhereClause = whereAdd($strWhereClause,"club_ID!=".$_SESSION["club_ID"]."");
|
W
|
wfcentral author 9/29/2009 |
I'm getting this error Hi, use List page: Before SQL query event on the Events tab for this purpose. Here is a sample: $strWhereClause = whereAdd($strWhereClause,"club_ID!=".$_SESSION["club_ID"]."");
|
W
|
wfcentral author 9/29/2009 |
my mistake... I'm getting this error Fatal error: Function name must be a string in /home/ugn/public_html/admin/membership-Gyms/include/tbl_members_events.php on line 215 here's what I did... After successful login (added) $_SESSION['club_ID'] = $data['id']; List page: Before SQL query (added) $strWhereClause = whereAdd($strWhereClause,"gym_ID!=".$_SESSION("club_ID").""); I checked to make sure that line was correct by replacing it temporarily with this one $strWhereClause = whereAdd($strWhereClause,"gym_ID!="1020""); which works just fine for testing, but since I have to get this number unique to login I can't hard code it. |
W
|
wfcentral author 9/29/2009 |
okay, I got it working now... but it killed the "no records on the first page" that I had checked in the Misc area... all records show up on the first page. |
J
|
Jane 9/30/2009 |
Hi, $strWhereClause = whereAdd($strWhereClause,"gym_ID!=".$_SESSION["club_ID"].""); |