Tell me, what is the error here? I just do not really understand php ...
if (isset($_POST['type'])) { if (isset($_POST['type'])) {$type = $_POST['type']; } if (isset($_POST['id'])) {$id = $_POST['id']; } }
Request domen.com/file.php?type=action?id=number
Error type Parse error: syntax error, unexpected T_IF in if (isset($_POST['type'])) {
$_POST['type']
second time? - Oleg Arkhipov