All Questions
274 questions
0
votes
1
answer
122
views
call model from laravel 8 on view
i want to call my model function from my view.
I tried like this but it didn't work
<ul class="sidebar-nav" data-coreui="navigation" data-simplebar="">
@php
...
0
votes
0
answers
90
views
Call Recording Twilio Proxy API PHP
i have been trying to record call using twilio proxy api. But i am having a weird issue i got a couple of twilio number but on one number call is being recorded perfectly but on others it just doesnt ...
0
votes
0
answers
84
views
Onclick doesn't call function in php echo for loop
I created a loop of div's as image thumbnails that can be clicked and every div gets an onclick method while the for loop but if i click on the thumbnails, it doesn't call my function test().
I don't ...
0
votes
1
answer
40
views
long server call, i don't have response, but it restarts
i have an ajax call, that builds a series of xml, and it takes a time variable from 7 to 11 minuts.
When it takes more than a certain times (i can't see axactly, i think about 8/9 minuts), i don't ...
-1
votes
2
answers
235
views
PHP read JSON Array with unknown variable
I have a Json Script with an Array inside and Array which looks like this shortened:
Array
(
[assets] => Array
(
[CGGD.AS] => Array
(
...
0
votes
1
answer
528
views
PHP, Fatal error: Call to undefined method calling function from another class
I have a simple PHP structure.
In admin_keys.php i have:
<?php
class admin_keys
{
public $key;
private $arr_keys = array("1", "2", "3");
public function ...
1
vote
0
answers
43
views
How to call a function declared in a separate php file from a different javascript file
I am trying to use a php function declared in a separate php file in a Javascript file. Do you know how to do ?
Here is my PHP code (download.php) :
<?php
$passthru = function ($reqchain)
{
...
-1
votes
1
answer
35
views
ajax didn't call the server php program
I am quite new in the programming and I try to check if a shop has been already assigned to an user. if yes nobody can be assigned to this shop anymore.
so in the index file I make a call via $.ajax ...
0
votes
1
answer
23
views
call php function on form submition
Hi im trying to generate this a code from this php function
<?php function generateRandomString($length = 6) {
return substr(str_shuffle(str_repeat($x='...
0
votes
1
answer
310
views
Pass image on ajax call and read with php [duplicate]
I created a form where values are entered which will then be read by jQuery. At this point, the jQuery will make an ajax call to the PHP file that will have to upload the article to MySQL (which it ...
2
votes
0
answers
148
views
Update the dropdown list on AJAX success function
I have a Dropdown list where I choose the League and another dropdown which features the teams according to the league selected in the first dropdown. My problem is what to include in the success ...
1
vote
0
answers
199
views
how to call sql stored procedure multiple times in a single page
I am having a stored procedure count_nodes(id,amount) in mysql and i wanna call this procedure in php page with 4 different parameters in a single page. Actually I can't do that
I'm trying to call ...
-1
votes
1
answer
186
views
How to call a php function from html (local based) [closed]
I'm new to PHP and HTML, so I'm asking you guys to help me: I'm trying to call a function from an external .php file to echo a header title from a .html file. If this is even possible, how can I call ...
-2
votes
1
answer
47
views
How to run PHP code when pressing input button?
So I have 2 different pages, 1 with a HTML Form and 1 with PHP code.
So when I press the button on page 1 where my form is, how do i make sure this code runs;
<?php
$conn = mysqli_connect("...
0
votes
0
answers
154
views
Datetime parameter in PHP SOAP call using the SoapClient class
I've developed a PHP SOAP call with code bellow with datetime parameter.
Problem is that it displays "No Items found" if there is only one item, after the given time.
When i make the call for longer ...