Page 1 of 1

Parse Error

Posted: Thu Dec 11, 2003 8:49 pm
by winsonlee
When I tried executing the the following it comes out an errror msg stating,
"Parse error: parse error in /home/techhost/public_html/mwhois/mwhois.php on line 288"

$f = str_replace("[>EXT_HTML_LISTX<]","<select name=\"ext\">\n<option>".implode("\n<option>",$whois_exts)."\n<option selected>."$vars["ext"]".</select>",$f);

but i dont see the problem when i change the $vars["ext"] to hello.

$f = str_replace("[>EXT_HTML_LISTX<]","<select name=\"ext\">\n<option>".implode("\n<option>",$whois_exts)."\n<option selected>hello</select>",$f);


How can i resolved this problem ???

Posted: Thu Dec 11, 2003 8:58 pm
by microthick
>."$vars["ext"]".</

Your . and " are reversed.