[PHP] Persistent Links help needed

2002-03-12 Thread WG4- Cook, Janet
Hi All, I have multiple PHP pages and make my connection to the MySQl db in one of these pages. When I go to the next one any mysql commands seem not to work - it look like the connection to the DB is lost! I have a feeling this is to do with persistent connections so here is the relevant

[PHP] Basic help for radio buttons needed

2002-03-05 Thread WG4- Cook, Janet
Hi all, I am sure this is a very simple question, but after reading reams of doco I still can't find the answer. I am very new to PHP and HTML coding. I have a form (html) that uses radio buttons that goes to some PHP code - how in the PHP code can I tell which radio button was selected?

RE: [PHP] Basic help for radio buttons needed

2002-03-05 Thread WG4- Cook, Janet
Message- From: Matt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 6 March 2002 11:00 To: WG4- Cook, Janet Subject: Re: [PHP] Basic help for radio buttons needed See http://www.php-faq.com/#66 - Original Message - From: WG4- Cook, Janet [EMAIL PROTECTED] To: PHP List [EMAIL PROTECTED] Sent

RE: [PHP] Basic help for radio buttons needed

2002-03-05 Thread WG4- Cook, Janet
Thanks Matt, I've got it working now - there must be another admin_do[] somewhere - I changed it to adm_do and it worked! Thanks for your help Janet -Original Message- From: Matt [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 6 March 2002 11:41 To: WG4- Cook, Janet Cc: PHP List

[PHP] Help needed with Sessions

2002-02-25 Thread WG4- Cook, Janet
Hi all, I am trying to get sessions to work to use to pass some data around, but the values do not seem to be coming through - I've probably got something basic wrong PHP version is 4.0.4pl1 sources are validate.php ?php include(header.inc); ? HTML HEAD TITLEToday's Date/TITLE /HEAD BODY

[PHP] Help needed - need to access a value from DB into all pages

2002-02-21 Thread WG4- Cook, Janet
Hi there, I am struggling with a concept and can't seem to find a way to do it so hoping you all can help. We want to use PHP with MySql Db. For security reasons on the DB, it is to be accessed only through this front end i.e. via the internal web Each user will have a number of levels of

RE: [PHP] Help for passing variable to all pages

2002-02-20 Thread WG4- Cook, Janet
]] Sent: Thursday, 21 February 2002 2:04 To: 'WG4- Cook, Janet'; PHP List Subject: RE: [PHP] Help for passing variable to all pages change: a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a to: a href=?php print \welcome.php3?dbcnxid=$dbcnx\; ?test link/a -Original Message- From

RE: [PHP] Help for passing variable to all pages

2002-02-20 Thread WG4- Cook, Janet
:37 To: Rick Emery Cc: 'WG4- Cook, Janet'; PHP List Subject: Re: [PHP] Help for passing variable to all pages a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a You can't pass resource types like database connection IDs in URLs as they are only relevant for the instance of the script

[PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
Hi All, I am new to PHP and learning as I go by reading many of the tutorials around. I have however come up against a problem that I can't seem to solve of find any other references to. I need to make some information available to every page and one of the series of articles by Kevin Yank

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
: Martin Towell [mailto:[EMAIL PROTECTED]] Sent: Wednesday, 20 February 2002 10:38 To: 'WG4- Cook, Janet'; PHP List Subject: RE: [PHP] Help for passing variable to all pages looks like there's a problem with this line: a href=welcome.php3?dbcnxid=?php echo($dbcnx); ?test link/a try using

RE: [PHP] Help for passing variable to all pages

2002-02-19 Thread WG4- Cook, Janet
, Janet'; PHP List Subject: RE: [PHP] Help for passing variable to all pages that makes me think that your page isn't being executed through php. why this is happening, i don't know - maybe a misconfigured web server Martin -Original Message- From: WG4- Cook, Janet [ mailto:[EMAIL PROTECTED