I am trying to update the shirtnumbers in table crew, by the ID from the .php page before.
<?php
include('conect.php');
$page = (isset($_GET['page'])) ? $_GET['page'] : 1;
$startPoint = $page - 1;
$data = "UPDATE crew SET shirtnumber=$POST['shirtnumber'] WHERE ID=<?php $_GET['ID']?>";
$query = mysql_query($data);
$data2 = mysql_fetch_array($query);
$rowCount = 0;
?>
this give me this error
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/a3825974/public_html/page3.php on line 5