Hello im here with a problem, i want to retrieve data from mysql with php(done it :)) and then for example when my variable $dia_semana is equal to sunday, it will show all the data with sunday into …
Tag: php
whitespace error in PHP, expecting an identifier
Not sure what should be the title for this case, please edit if you have a suitable title for it. See below for the exact question. MySQL Database: Now I want to check if the value option in “…
Can’t Load Phalcon Extension On Windows with Xampp
Currently I am using a. PHP Version : 7.4.4 b. Web Server: XAMPP c. Architecture : x64 d. OS: Windows 10 What I’ve Tried a. I downloaded phalcon_x64_vc15_php7.4_4.0.5+5010.zip from Phalcon Repo …
is there a way to update a div with new content only using ajax
This is the div that i am updating but i want to add a active class to the (li) item every time the div refreshes the active class goes away so i don`t want to refresh all the data in the (ul) but …
how to use success message in view function along with withDeatils?
my return tag containing withhDetails and success message.. while return is perform the success msg is not printing and my code is below controller: public function listing($id) { $data=…
Display Average Rating by Id with Count of Ids Mysql
I have an MYSQL table, where I want to get the average rating with a count of product id. Here is the sample of the table. ╔════╦═════════════╦══════════╦══════════╗ ║ ID ║ product_Id ║ rating ║ …
How can i make if else condition inside sweetalert2 swal.fire?
My table has relationship with other field table(Constraint foreign key), so when this delete button click. it will show sweet alert that the data cannot be delete if they connected. Here my code &…
Is there any drawback of laragon compared to xampp? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed last year. Improve this question I was having trouble while installing xampp in my pc. And then i found …
Update multiple row with insert new data in laravel
I am new to Laravel, here my existing fields are getting updated but unable to insert a new row, when users checks for a new category it should be added as a new row in the database. public function …
how do I post form data and upload file with the JS fetch API
I am trying to post form data using JS fetch API, also i successfully send data and get response , but got an error in file uploaded my file is not uploaded , and also not get stored filename into database. And javascript code Answer No need to transform to JSON, and no need to use entries() on FormData. Also