if ($_flags['include_form'] && !isset($_GET['nf'])) { $_url_form = '<div style="width:100%;margin:0;text-align:center;border-bottom:1px solid #725554;color:#000000;background-color:#F2FDF3;font-size:12px;font-weight:bold;font-family:Bitstream Vera Sans,arial,sans-serif;padding:4px;">' . '<form method="post" action="' . $_script_url . '">' . ' <label for="____' . $_config['url_var_name'] . '"><a href="' . $_url . '">Address</a>:</label> <input id="____' . $_config['url_var_name'] . '" type="text" size="80" name="' . $_config['url_var_name'] . '" value="' . $_url . '" />' . ' <input type="submit" name="go" value="Go" />' . ' [go: <a href="' . $_script_url . '?' . $_config['url_var_name'] . '=' . encode_url($_url_parts['prev_dir']) .' ">up one dir</a>, <a href="' . $_script_base . '">main page</a>]' . '<br /><hr />'; foreach ($_flags as $flag_name => $flag_value) { if (!$_frozen_flags[$flag_name]) { $_url_form .= '<label><input type="checkbox" name="' . $_config['flags_var_name'] . '[' . $flag_name . ']"' . ($flag_value ? ' checked="checked"' : '') . ' /> ' . $_labels[$flag_name][0] . '</label> '; } } $_url_form .= '</form></div>'; PHP: The guy whom I bought the site from did it for me, and it was in between the " '<br /><hr />' " which is in in the middle kind of, at the end of the first "paragraph." However, when I put the new code in, it is not working gives a parse error.
This is the error: Parse error: syntax error, unexpected T_LNUMBER in /homepages/29/d210271167/htdocs/unlocked surfing/index.php on line 1149
kinda difficult to tell since you didnt post your index.php but it just sounds you like you put the ad in the wrong place and it screwed up the syntax.. try keeping it out of functions
That problem has something to do that you echo a string within inverted commas (') and the string you are trying to echo has also inverted commas in it. PHP can't handle that. Solution You need to escape the inverted commas within the string you wish to echo Example WRONG echo ' var AdBrite_Title_Color = '000FF';'; PHP: CORRECT echo ' var AdBrite_Title_Color = \'000FF\';'; PHP: Hope this helps