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

Link to comment
Share on other sites

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 :)

 

 

Link to comment
Share on other sites

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

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

Strange error:

$*** Is a variable.

$end os a variable

For a variable to exist it must be created, so how on earth are we getting a non existant variable please post your php so i can look through it

Use [COD'E] [/CO'DE] Lines excluding quotes

Link to comment
Share on other sites

*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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

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.   Restore formatting

  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...

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.