insert.php help

monpire

New Member
Messages
16
Reaction score
0
Points
0
You need to post the full error message and part of your codes so we can help.
 

wjh2303

New Member
Messages
139
Reaction score
0
Points
0
it most likely means you are missing a ?> somewhere or similar, basicly you have forgotten to close something properly
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
tdwrpg, just to remind you, as I see you are quite new here, when you are asking for help, follow these simple guidelines:
* Make sure you've search the web, and make it appear. Say something such as "I've searched google." But don't just write that line since us too are able to search google.
* Always disclose the full error message. There is some pretty useful information in there.
* Post the part of the script that you believe is making the error.
* Post a link to the page that has the error
 

batman1

New Member
Messages
92
Reaction score
0
Points
0
it most likely means you are missing a ?> somewhere or similar, basicly you have forgotten to close something properly

not only that but you may be missen a } some where too.

example:

Code:
<?php

if($x=1)
{
     print 'stuff';
     $x++;

     if($y=3)
     {
          echo 'more stuff';
          echo date("Y-m-d");
     }

?>

this would cause the same error, note the second } is missen.
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
I just love when a new, or inexperienced user just asks a question, gives about the minimum information, that is, a summary of what he thinks is important, then waits and waits.
Obviously, we can't help him if we don't know what is his real problem, but the user doesn't add information even after we've given him clues to what to write.
But the best part isn't that, no, the best part is that the user never shows up again! That, my friends, has made my day!

Now, on a more serious note, your example, batman1 is good, but you misinterpreted the reason why the error is thrown. It is thrown because the ?> comes too fast. The last curly bracket could be after the ?>. It's not missing... Oh and by the way, missen is actually spelled missing, but everybody makes error now and then!
 
Last edited:
Top