Jump to content

Parse error: syntax error, unexpected T_STRING


thugsr

Recommended Posts

greetings guys, can someone tell me what is error in this code? i constantly getting this error

" Parse error: syntax error, unexpected T_STRING in C:\wamp\www\diplomski\dodaj_podprojekat.php on line 37"!

the code is

$nesto=$_SESSION['tema'];
				$q = "SELECT * FROM projekat WHERE naziv ='$nesto'";
				$r = mysql_query($q) or die mysql_error() ;
				$y = mysql_fetch_object($r); 

and line in witch is error is $r = mysql_query($q) or die mysql_error() ;

 

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.