This topic is locked

OnAuditLog

5/3/2019 3:25:55 AM
PHPRunner General questions
J
jacques author

can someone help me out?
I have a table xxx

I have a field yyy in the table xxx
How to use

[font=Verdana, Geneva, Arial, sans-serif]



if(Security::isAdmin() == True) return false;

// No effect
if ($table=='xxx' AND $keys['yyy']!="") return false;

// No effect
return true;
Of course I'm doing something wrong but what?

J
jacques author 5/3/2019



can someone help me out?
I have a table xxx

I have a field yyy in the table xxx
How to use

[font="Verdana, Geneva, Arial, sans-serif"][size="2"]

[/size]

if(Security::isAdmin() == True) return false;

[size="2"]// No effect [/size]
if ($table=='xxx' AND $keys['yyy']!="") return false;

// No effect
[size="2"]return true;[/size]
[size="2"]Of course I'm doing something wrong but what?[/size]


I tried !="" as well but also no effect*

admin 5/3/2019

What exactly are you trying to achieve in this event?

J
jacques author 5/3/2019



What exactly are you trying to achieve in this event?


[size="3"]

[size="3"][font=Helvetica, Arial]

[/size]

[size="3"]

[font=Helvetica, Arial]

admin 5/3/2019

Write where and when? Doesn't really make any sense right now.