Jump to content

Havnt seen this error before, what should i be looking for?


Accurax

Recommended Posts

1st of all well done for using wamp check ike 332 for any unexpted s$end PHP & MySQL are so easy to troubleshoot try looking on line 332 it really does lmit you to a fwwrong characters maybe your variable was $send i dnt know but thereyou are check if anything s wrong or if u havn't created $end

Do you think im stupid? ... do not patronise me

 

Line 332 happens to be the last line of my page..... and therefore it is an error that is dropping down from above, as if id post here wirthout trying to figure it out myself.

 

All im looking for is an explanation of what the error means.

 

I have no variable called $end ................... and cannot see any obvious errors in my code .....but then i dot really know what im looking for as this error is not one i have seen before...... so if anyone can tell me what this error means i would be very very gratefull.

 

ps... sorry to be harsh, but you didnt read my question, or come anywhere near actually answering it, but thanks for replying anyway :)

 

 

sure no problem, heres the first 5 lines

 

<?php  // Line 1
session_start();
include("../connect.inc");

if ( $_SESSION['login'] != "true" )

 

and here's the last 5 lines

 

if (strcmp($row['rock'], 'on') == 0)
{
echo "Rock.";
}
?> // Line 312

 

I've shown you the last 5 lines of php, as the lines the error are pointing at are just cosing xhtml tags, and of no real help

 

the variable $end is not defined... does not exist, has quite simply never been created ......  i dont think its trying to tell me that there is a problem with a variable called $end.

 

I think it's simpler than that, ill go and check the php manual and google around see if i can get some info.

 

oh, and thanks for the compliment.

*Accurax falls over and dies laughing at himself

 

read the first reply to this post:

 

http://www.phpbuilder.com/board/showthread.php?t=10316154

 

Was all i needed to realise that i had in fact missed a curly brace.

 

But, without knowing what causes the error message id have never fixed it, no matter how stupid it was.

 

Thanks for the help

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.