My goal is that I want to sort my data if it is still ACTIVE or INACTIVE. But the result I’ve got is that if I click active it only shows the active data and when inactive it doesn’t show. I don’t have syntax errors but logical errors. I am using PHP, JQuery/AJAX. Here is my code in HTML Her…
how to implement laravel validation unique in UpdateRequest custom?
I have a unique rule in file UpdateAnimeRequest, and I want to implement a unique rule like this: https://laravel.com/docs/8.x/validation#rule-unique The problem is if I want to update without …
How to redirect Admin to a specific page and users to another – Laravel 8 jetstream
I’m trying to redirect admin to the admin panel page and the users to the homepage i created new field for usertype and i add the value in database which is “admin” $table->string(‘…
Insert CSS into html header via php Function
I have access to creating hooks to edit the appearance of websites, but no experience with php. The hooks manpage gives examples such as: Now, what I want to do is insert the following CSS into this function (the function is executed before rendering the page) so that instead of printing a message as above, i…
Using openpgp-php with the Symfony framework Attempted to load class “OpenPGP_SecretKeyPacket” from namespace “AppController”
I found this answer and it helped me half the way: How do you use the PHP OpenPGP library? First of all, due to dependencies I really failed to set it up properly by just downloading it. But as I have Symfony running and installed with composer, I finally got pgp installed (but not working) in Symfony by runn…
Centring HTML Objects – This includes labels, text input boxes and buttons?
Hello fellow programmers, I have created a search form for my webpage which allows users to use three different fields to refine their search. I have been trying to align these objects with the main heading of the search page. I have tried many different methods but seems to move the objects into the centre. …
WordPress the_permalink() closes tag?
Hellow, im trying to code a custom theme for my wordpress site. im trying to output 5 of my posts and i want to wrap them into a link. however when i foreach() through the posts and want to wrap my …
How to Show Data After Login in Laravel
After successfully login from auth, I wan to show the data from database. But I got an error like this. Undefined variable: barangs (View: C:xampp7htdocsexample-appresourcesviewsbarang.blade….
Cannot find php-curl package
I am struggling with the php-curl installation which cannot be found, I have seen plenty of topics related to it but it unfortunatelly did not help much. I want it for an curl function in a php …
fetch doesn’t send autofilled input
When my login credentials are prefilled by my browser (chrome) my fetch function doesn’t send the values html
Bienvenue