help please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tod900
Forum Newbie
Posts: 14
Joined: Thu Nov 20, 2008 6:35 am

help please

Post 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']);
User avatar
papa
Forum Regular
Posts: 958
Joined: Wed Aug 27, 2008 3:36 am
Location: Sweden/Sthlm

Re: help please

Post 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?
tod900
Forum Newbie
Posts: 14
Joined: Thu Nov 20, 2008 6:35 am

Re: help please

Post by tod900 »

No. I had to do it all again and now think it is a settings issue.
Post Reply