Re: [northernpenguin] Viewing Records Based on the User Account
Hi Ragi,
Using '_link' will put the record's num at the end of the url, not the user num of the person who created it. The problem taking place is going to be difficult for me to diagnose without being able to see the script in action.
You said when you were manually creating your links you were always getting a 0 for createdByUserNum? One thing you can do is when your outputing your records, try this:
<?php die( showme( $record ) ); ?>
This will show you all the contents of $record and then stop the script. Look to see that createdByUserNum has the proper value.
Give that a try and let me know what it outputs for you.
thanks
---------------------------------------------------
Jason Sauchuk - Project Manager
interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/