zellen99
zellen99
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
thanks for helping me out
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
it doesn't work, I think is because of the htaccess, but nevermind, I give up
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
yea no problem, thx
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
it is not working
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
Curs_22(MVC_part2)/delete?id=15
Curs_22(MVC_part2)/delete?id=15
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
yes
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
still the same
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
it's strange
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
Curs_22(MVC_part2)/delete?&id=15
Curs_22(MVC_part2)/delete?&id=15
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
Array ( [page] => delete )
Array ( [page] => delete )
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
I put this in the DeleteController and it says that the Id is not set
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
class DeleteController extends AppController
{
public function __construct()
{
$this->init();
}
public function init()
{
$newUser = new UsersModel();
$id = $_GET['ID'];
$deleted = $newUser->delProducts($id);
if ($deleted) {
header("Refresh: 1; url= home");
} else {
echo "ID is not set.";
}
}
}
class DeleteController extends AppController
{
public function __construct()
{
$this->init();
}
public function init()
{
$newUser = new UsersModel();
$id = $_GET['ID'];
$deleted = $newUser->delProducts($id);
if ($deleted) {
header("Refresh: 1; url= home");
} else {
echo "ID is not set.";
}
}
}
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
hey, I still haven't figured it out
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
ok, I will do that, thanks
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
I hope so
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
thank a lot
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
ok
77 replies
KPCKevin Powell - Community
Created by zellen99 on 6/23/2023 in #back-end
Delete users from DataBase
this is what it is in the file
77 replies