Page 1 of 1

help please

Posted: Thu Nov 20, 2008 6:42 am
by tod900
can anyone tell me what is wrong here, i am learning php and useing DW8 this is what DW is writing and it wont work keep getting this error,
Parse error: syntax error, unexpected T_STRING, expecting T_PAAMAYIM_NEKUDOTAYIM in C:\wamp\www\ResultPage.php on line 4




$varBusinessType_rsResultPage = "%";
LINE 4 -
if (isset(Request QueryString['sbBusinessType'])) {
$varBusinessType_rsResultPage = (get_magic_quotes_gpc()) ? Request QueryString['sbBusinessType'] : addslashes(Request QueryString['sbBusinessType']);

Re: help please

Posted: Thu Nov 20, 2008 7:21 am
by papa

Code: Select all

 
get_magic_quotes_gpc() ? $varBusinessType_rsResultPage = Request QueryString['sbBusinessType'] : $varBusinessType_rsResultPage = addslashes(Request QueryString['sbBusinessType']);
 
Is Request QueryString supposted to be a variable?

Re: help please

Posted: Thu Nov 20, 2008 12:01 pm
by tod900
No. I had to do it all again and now think it is a settings issue.