Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE » How To » How do I use a GLOBALS or _SESSION field selection
Re: How do I use a GLOBALS or _SESSION field selection [message #663 is a reply to message #660] Fri, 02 March 2007 10:24 Go to previous messageGo to previous message
danpoleary is currently offline  danpoleary
Messages: 49
Registered: February 2007
Member
Thanks,

Now for the second problem, I edited the generated (list1).php for my app, and inserted the following

$sql_where = "source_key=$_SESSION['role_id']";

I also tried setting a local variable like:

$the_role = $_SESSION['role_id'];
$sql_where = "source_key='$the_role'";

The "source_key" is a column in my table used for both external references and enforcement of role access to specific rows. In both cases the role_id is blank. Is it not available inside the generated tasks?

Any help would be appreciated

Dan O'Leary
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Setting up of a subsystem to another Server
Next Topic: Custom Validation Executed - Blank Screen Displays
Goto Forum:
  


Current Time: Wed Nov 27 08:59:52 EST 2024

Total time taken to generate the page: 0.00956 seconds