All Questions
4,530 questions
0
votes
0
answers
21
views
Trying to pass values through POST to a php file using $http service of angular js does not work [duplicate]
Basically, I'm creating an e-commerce website for a college project. My intent is that when a user clicks on the add to cart button, the name of the book and it's price gets sent to an external php ...
-2
votes
1
answer
118
views
Integration of an Angular app into index.php by using a tag [closed]
I have to embed an Angular app into a index.pxp file by using a specific tag. At the moment, is done by using Angular JS.
The question is independent from the language / system of the host page or ...
0
votes
0
answers
40
views
I am unable to send data through $http.get service in angularjs to a php file
I'm testing out a function before integrating it into my project. Basically, a button press should push an object into an array and then send that array to another php file. So, I've created a basic ...
0
votes
1
answer
30
views
Passing an array of objects through the $http.post method in angular JS does not work [duplicate]
I aim to pass an array of objects from my main merchandise.php file to another process_cart.php file using the $http.post method. (Note that it's AngularJS, not Angular). I want to use a foreach loop ...
1
vote
0
answers
58
views
How to place the text above the table when exporting excel?
I exported an excel file and I want that this text is in above the table. How to do that?
Here is the angular js code:
$scope.generateLedger = (supplier_id) => {
$http({
method: ...
0
votes
0
answers
25
views
Empty string from .php script on HTTP response [duplicate]
I have a web app running on an Nginx server and I'm having problems with an HTTP request.
I'm using PHP on the server and AngularJS for the frontend.
I'm sending an HTTP POST request to the server to ...
1
vote
0
answers
41
views
How to upload multiple files with extension checking in yii2 using JavaScript
I am using AngularJS to upload an Array of formData to PHP
// sample code in ng-component.js
const fd = new FormData();
for (let i=0; i < $scope.brochureList.length; i++) {
console.log($scope....
0
votes
0
answers
40
views
How deserialized as an array but receives an object
To make a save using the resource, it needs to receive a deserialized as an array I'm getting like this .:
nome=angularjs&telefone=%2B556639687898&cor=2&idoperadora=1
with $jQuery.param(...
0
votes
1
answer
32
views
How to get selected value from a ng-modell select field for an interdepende
How to get value from an angular form (ng-model type select dropdown field) for an interdependent select field for countries->states->cities, into a PHP variable or php page? I am a newbie in ...
0
votes
1
answer
230
views
MYSQL error: SQLSTATE[HY000] [2002] No such file or directory (FEDORA LARAVEL)
I have an aplication that works with angularjs and its backend is on Laravel. I'm working on Fedora 37.
The back is in a docker container, and I have a local database with mysql.
When I try to query ...
0
votes
1
answer
92
views
Working with $_FILES and ZipArchive (PHP and Angular) - incomplete file being downloaded
I have an angularJS based project with a PHP server. The goal at this point is to take a .jar file, and add json file to the META-INF folder in the .jar file and then download it back on the front ...
-2
votes
4
answers
248
views
How to "NULL" a column for a user that logs out, Laravel 9
I have done this: https://shouts.dev/articles/how-to-get-online-users-in-laravel
and it works fine.
But I want to get rid of the users that logs out. Otherwise the list will be too large.
This is my ...
0
votes
0
answers
196
views
Laravel resource route on delete shows 403 Forbidden
My delete button
<button class="btn btn-danger btn-xs" type="button" ng-click="removeSaleTemp(newsaletemp.id)">
<span class="glyphicon glyphicon-...
0
votes
1
answer
61
views
How to round up number in ng-bind
Here is the code I have
<td><span ng-bind="'$' + (o.Price | number : 2)"></span></td>
In the example above, the result is 68.74.
In order to make this number ...
0
votes
1
answer
418
views
PHP CodeIgniter API not receiving JSON data
I am creating a REST API with PHP CodeIgniter paired with an MYSQL Database and an AngularJS Frontend. This is how my Database Table looks like: https://i.sstatic.net/piMZS.png
What Works
I tested ...