Jump to content
MakeWebGames

PHP Error Message - Header.php


Monkey644

Recommended Posts

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...