I try to show the last tweet from a specif user, using the Twitter API. When I try to echo the first result I get an empty page. When I echo my JSON data is see
I am a student learning PHP. To my knowledge and from tutor's comment, I guess the tutor said that server side runs before and client side after. So when i che
I am converting an HTML string to PDF. The HTML string has a Unicode character \00a0 non breakable space. In the PDF, \00a0 is converted in to ;Â symbols.
I'm a beginner in PHP and was trying to access my database after clicking on the login I get the error below while establishing connection Con
I'm trying to multiply each value from array_module_rate array. The result should be: $array_module_rate[0] = 25 $array_module_rate[1] = 15 $array_module_rate
I've searched and searched and I can't find the answer to my problem on SO. So here's my issue. I'm trying to load jQuery Globally using Laravel Mix. I've tried
I want to get the attribute value for the variaton id, I tried something but show me the value for 1 month "1 luna". The 120E price is for 12 months. The varia
I need to connect with an API that is using oAuth2. I have never used oAuth2 before and im not really sure how to. The provider is giving this information: Obt
I have an old piece of php code calling Facebook, that used to work fine until a week ago. Now it suddenly stopped working. Here are the relevant lines involved
This is my stack trash, I am getting this when doing the existing Symfony project. stack trash : Symfony\Component\DependencyInjection\E
I am having a bit of trouble, and i think my syntax and structure is correct but for some reason the function is failing. products.php page i have this function
I'm trying to use PHPUnit in a PHP project. Here is my project structure (files are in italic font style) controllers Pages.php tests pagesTest.php vendor
I have an arrays with dynamic name. My array could be more than 3, depends and array variable should be unique $loopThrice = 3; $getSum = 0; $total = array();
I am using SQL Server DB (mssql), And trying to execute Insert Query through PHP. public function registerCustomer($custId, $custData) { $sqlString = "INS
After installing xdebug with sudo pecl install xdebug it looks that is installed but only in CLI. php -i | grep "xdebug" - this returns a lot of rows Then when
I have a PHP script that executes a shell command to find the common items between two files given. This is the beginning of my PHP script: $E7Bonded_File = "
update 2022-05-14 i found that server shows 403 when post request, not get request. get reqeust works well, not post. hi i got problem with the apache server th
I have $this->table as a global variable and an object inside of it, where foo is a table field name. example. $this->table = t_module::__set_state(arra
My WordPress website has this notice below, how do I fix this? Notice: acf_get_value was called incorrectly. Advanced Custom Fields PRO - We've detected one or
Currently I'm executing all commands as root, which is a very bad idea and unsafe as I read. I want to execute the commands in a secure way. An example of curre