I have this error upon loading page
Parse error: syntax error, unexpected T_VARIABLE in /home/a9752689/public_html/zadatak2/user.php on line 165
can you help me with it? I will post part code, if you need whole tell me
165 line is 28 here
<p align="center"><font color="#0000FF">Pregled grupa</font></p>
<p align="center">Grupa kojoj koncert pripada:
<form action = ‘<?= $_SERVER[‘PHP_SELF’]?>’ method = ‘post’>
<select name="grupa_select" id="grupa_select">
<?php
while($row = mysql_fetch_array($sql))
{
echo "<option>".$row['grupanaziv']."</option>";
}
?>
</select>
</p>
<p align="center">
<input type="submit" name="pregled_grupe" id="pregled_grupe" value="- Izaberi grupu-" />
</p>
<p>
<label></label>
</p>
</form>
<?php
if (isset($_POST['pregled_grupe'])
$con = mysql_connect($hostname,$db_username,$db_password);
if (!$con)
{
die('Could not connect: ' . mysql_error());
}
mysql_select_db($db_name, $con);
$selektovanje = mysql_query("select id from grupe where grupanaziv ='".$grupa_select."'");
$grupa_id = mysql_fetch_array($selektovanje);
$pregled = mysql_query("select * from koncerti where $grupa_id['id'] = grupa_id");
echo "'$pregled'";
?>
Thanks in advance