faqts : Computers : Programming : Languages : PHP : PHP Authoring

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

3 of 7 people (43%) answered Yes
Recently 3 of 7 people (43%) answered Yes

Entry

How do I pass a variable in one query/doc.php to another one to insure integrity of relationship?

Oct 8th, 2006 09:59
Matthew Wilkinson, Ramona M.,


You will probably have to pass the id either as a session cookie, by using:
session_start();
$_SESSION['id'] = 'theidgoeshere';
or as a GET parameter:
query/doc.php?id=theidgoeshere
alternatively, you can use a cookie:
setcookie('id', 'theidgoeshere');