may be missing the point. but....
when you're brining down the page decide what records the user can and
scenario, I'd write a single js function that you'd pass one(many) PHP
variable(s) into, when building the page, after you have the db info and
let the JS decide what the function does, based on the variable passed.
Making PHP decide ALL of the Business logic and just passing command type
paramaters to JS.
hope this helps and i'm not just totaly off base.
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
Subject: [PHP-DB] PHP DB Interaction
Trying to get my head around something and want to know if it's possible
find out what records are in use as a variable for another record and
then using JS to A) prevent the user from clicking a delete button; or
B) pop-up a notice telling the user they can delete that particular
Hope that makes sense.. any ideas?
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php