Monkey644 Posted May 23, 2015 Share Posted May 23, 2015 Hey all, I keep getting: Parse error: syntax error, unexpected '{' in /home/a4767764/public_html/header.php on line 273 This is what is on line 273 plus 5 lines of code either side: { **return (is_numeric($var)&&(intval($var)==floatval($var))); } $array = array_merge($_GET, $_POST); while ($post_cap = current($array)) { ***if ($post_cap < 0) { print "Illegal Operation"; die(""); ****} ***if (is_numeric($post_cap) && !is_whole_number($post_cap)) { print "Illegal Operation"; Any and all help would be appreciated. If its any help, I am converting my header into a split left and right sided design. Quote Link to comment Share on other sites More sharing options...
Zettieee Posted May 23, 2015 Share Posted May 23, 2015 *** *** *** ^ be the issue? Quote Link to comment Share on other sites More sharing options...
NonStopCoding Posted May 23, 2015 Share Posted May 23, 2015 looks like the only issue to me Quote Link to comment Share on other sites More sharing options...
Monkey644 Posted May 23, 2015 Author Share Posted May 23, 2015 Didn't see them within the program I use to edit the code. Removed these. All fine now, Thanks!!! Quote Link to comment Share on other sites More sharing options...
Zettieee Posted May 23, 2015 Share Posted May 23, 2015 Download https://notepad-plus-plus.org/ or http://www.sublimetext.com/3 They are really nice editors (sublime 3 is a little more advanced) Quote Link to comment Share on other sites More sharing options...
sniko Posted May 29, 2015 Share Posted May 29, 2015 Download https://notepad-plus-plus.org/ or http://www.sublimetext.com/3 They are really nice editors (sublime 3 is a little more advanced) Or go full pro with PHPStorm and get an awesome integrated environment. Quote Link to comment Share on other sites More sharing options...
G7470 Posted May 29, 2015 Share Posted May 29, 2015 I've tried PHPStorm. If you want to do some serious PHP development, that is a very useful product. ~G7470 Quote Link to comment Share on other sites More sharing options...
Script47 Posted May 29, 2015 Share Posted May 29, 2015 If you don't wish to fork out cash, then go for Netbeans PHP. Quote Link to comment Share on other sites More sharing options...
Coly010 Posted May 29, 2015 Share Posted May 29, 2015 Or eclipse php. Not outstanding but does the job. Quote Link to comment Share on other sites More sharing options...
Lithium Posted May 29, 2015 Share Posted May 29, 2015 I've tried PHPStorm. If you want to do some serious PHP development, that is a very useful product. ~G7470 Isn't notepad enough to do some serious PHP development? O_o Quote Link to comment Share on other sites More sharing options...
G7470 Posted May 29, 2015 Share Posted May 29, 2015 Isn't notepad enough to do some serious PHP development? O_o I use Notepad++ myself, but that's because I've written PHP so much for so long. Also, PHPStorm has extra features that Notepad++ doesn't have, which for some may be very useful. ~G7470 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.