Подскажите, в чем здесь ошибка? Просто я в php не очень разбираюсь...
if (isset($_POST['type'])) {
if (isset($_POST['type'])) {$type = $_POST['type']; }
if (isset($_POST['id'])) {$id = $_POST['id']; }
}
Запрос вида domen.com/file.php?type=action?id=number
Ошибка типа
Parse error: syntax error, unexpected T_IF in if (isset($_POST['type'])) {
$_POST['type']
?