Questions tagged [php]

Ask Question

PHP is a widely used, open source, general-purpose, multi-paradigm, dynamically typed and interpreted scripting language originally designed for server-side web development. Use this tag for questions about programming in the PHP language.

1,439,240 questions 6

0votes0answers4views

Inserting Multiple Rows into Mysql using checkbox fetched via Jquery in table

I have a combobox "Select Session" and on its change event I have written jquery code to fetch all students of the session in table. After selecting the value from combobox data comes in ... user avatar Sikander Shahzad

  • 31
1vote0answers13views

How to find out how many URL parameters are there

In page there are some query parameters. So for example, will show results only for scrip 500325.... user avatar Dhaakad Maakad

  • 11
0votes0answers4views

PHP Xpath: How to get table headers where another table is inside the first row?

I am trying to extract the headers table from this url: Unfortunately, they use a "non-standard" html table where instead of rowspan they ... user avatar celsowm

  • 590
0votes0answers6views

PHP referencing constant in a namespace not working "Undefined constant"

I've searched a lot of other similar Q/As but none of them seem to address this specific case: There's a file with constants: App/Core/SomeConstants.php which contains: namespace App\Core\... user avatar jave.web

  • 12.4k
0votes0answers8views

Reply to run command

I am running a command but how can I reply to it? I want to write "1" as answer <?php include('Net/SSH2.php'); $ssh = new Net_SSH2('XXX'); if (!$ssh->login('root', 'XXX')) { exit('... user avatar Bebeksi Hıdırcan

  • 1
0votes0answers13views

Do not add empty value

I need help on my video code. I don't want to add the video that has no value on my post base on acf function diaphragmatic_breathing_player() { $args = array( 'post_type' => '... user avatar wes

  • 1
0votes0answers11views

Redirecting html page to another page using php

I am having problems getting php to redirect after processing an email message. I've tried all of the solutions mentioned on this page, as well as some involving javascript with no luck. Here are the ... user avatar Dan Suson

  • 1
0votes0answers8views

PHP/SSH: How to output (echo) ssh result if they content multiple page?

I am try connect by SSH to device (in my case Huawei switch), execute command and print result on web page. If my $ssh_input equal like 'display arp | i 10.100.1.1' i have next result in terminal and ... user avatar Narmo

  • 1
0votes0answers14views

How to merge all models in laravel 9?

I want to show all slideshow when the images are not blank. public function index() { $sliderProducts = Product::query()->select('slider')->whereNotNull('slider'); $sliderServices = ... user avatar Ashraf Khosravi

  • 3
0votes0answers12views

Problem on Showing Product Details Page using Bootstrap

I want when i click button details on my pagination of products.php, it appear the details taken from products_details.php. As of right now, i only able to show the specific ID from each product ... user avatar Ahmad Siddiq

  • 3
0votes0answers14views

array_push as child element

I created a WordPress taxonomy, then I assigned Advanced custom fields (ACF) to it. the site also uses .twig so i don't run PHP on the page templates. All data is added to .twig $context, in my case $... user avatar Justin Blayney

  • 579
0votes0answers16views

Get value from MySQL by received ID in PHP

Trying to get from same (wp_postmeta) table with different queries some information next to the printed result. In example - I'm trying to get: ID "_hover" meta key of left ID "_sku&... user avatar Tom Dee

  • 1
0votes1answer13views

How to show indication for bash script commands execution using exec in php?

I have a bash script file "myApp.sh" that include many commands (for loops, building DB, import data to DB, calling other bash scripts files). The commands are complicated. I am invoking ... user avatar sysSTD

  • 47
-1votes0answers15views

How can I show the last person who answered the question like Laracasts? [closed]

How can I show the last person who answered the question like Laracasts? my tables; users - threads - replies user avatar johnDoe220

  • 1
0votes0answers10views

Symfony 6 json_login "missing credentials"

I am trying to get a json_api based login system working in my project. My problem is that when i click my login button, I get an unauthorized error message that there are missing credentials. When i ... user avatar Jelmer vd Bij

  • 21

153050per page

1 2 3 4 595950

You Might Also Like