Chip
Posts: 15
|
| Posted: 10/07/2005, 10:55 PM |
|
Hi All,
First I would like to admit I am new to web development but trying my hand at it anyway.
I have two questions/problems:
First some background, I have a MySQL database on a remote web server with multiple tables including a "users" table. Have created with CCS a Login page and a List/search page.
Question/problem One:
Can only get past login page if I use the first username/password combination in the "users" table which is the administrator(highest groupID). I have five entries in this table with groupIDs ranging from highest to lowest not including admin. If I use a username/password other than the admin combo, I get an invalid password error. What have I done wrong or haven't configured correctly.
Question/problem Two:
When I get past the login page using the admin login and go to the page I told it to go to I get the following error in my browser:
Parse error: parse error, unexpected T_STRING in d:\Customers\user1160882\www\girardkelleydatabase\Call_Demog_list.php on line 2398
Once again, what have I screwed up. Have attached the lines of could in question below.
Any help would be greatly appreciated. Unfortunately I will probably have more of these questions as I get deeper into this project. Thanks
$this->wp->Criterion[26] = $this->wp->Operation(opContains, "P1_Pacing", $this->wp->GetDBValue("26"), $this->ToSQL($this->wp->GetDBValue("26"), ccsText),false);
$this->wp->Criterion[27] = $this->wp->Operation(opContains, "P1_Needle_Decompression", $this->wp->GetDBValue("27"), $this->ToSQL($this->wp->GetDBValue("27"), ccsText),false);
$this->wp->Criterion[28] = $this->wp->Operation(opContains, "P1_Needle_Cric", $this->wp->GetDBValue("28"), $this->ToSQL($this->wp->GetDBValue("28"), ccsText),false);
Line 2398 ----> $this->wp->Criterion[29] = $this->wp->Operation(opContains, "`"P1_Surgical_Airway`", $this->wp->GetDBValue("29"), $this->ToSQL($this->wp->GetDBValue("29"), ccsText),false);
$this->wp->Criterion[30] = $this->wp->Operation(opContains, "`P1_PIC/Dialysis_Line_Accessed`", $this->wp->GetDBValue("30"), $this->ToSQL($this->wp->GetDBValue("30"), ccsText),false);
$this->wp->Criterion[31] = $this->wp->Operation(opContains, "P1_Other", $this->wp->GetDBValue("31"), $this->ToSQL($this->wp->GetDBValue("31"), ccsText),false);
$this->wp->Criterion[32] = $this->wp->Operation(opContains, "P1_Procedure", $this->wp->GetDBValue("32"), $this->ToSQL($this->wp->GetDBValue("32"), ccsText),false);
$this->wp->Criterion[33] = $this->wp->Operation(opContains, "P2_IV_Attempts", $this->wp->GetDBValue("33"), $this->ToSQL($this->wp->GetDBValue("33"), ccsText),false);
$this->wp->Criterion[34] = $this->wp->Operation(opContains, "P2_IV_Success", $this->wp->GetDBValue("34"), $this->ToSQL($this->wp->GetDBValue("34"), ccsText),false);
$this->wp->Criterion[35] = $this->wp->Operation(opContains, "P2_ETT_Attempts", $this->wp->GetDBValue("35"), $this->ToSQL($this->wp->GetDBValue("35"), ccsText),false);
$this->wp->Criterion[36] = $this->wp->Operation(opContains, "P2_ETT_Success", $this->wp->GetDBValue("36"), $this->ToSQL($this->wp->GetDBValue("36"), ccsText),false);
|
 |
 |
donb
Posts: 52
|
| Posted: 10/08/2005, 5:32 AM |
|
change
"`"P1_Surgical_Airway`"
to
"`P1_Surgical_Airway`"
_________________
http://www.gotodon.com/ccbth |
 |
 |
|