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
- Bountied 6
- Unanswered
- Frequent
- Score
- Unanswered (my tags)
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 ... php jquery
Sikander Shahzad
- 31
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.... javascript java php html jquery
Dhaakad Maakad
- 11
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 ... php xpath domxpath
celsowm
- 590
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\... php symfony namespaces constants
jave.web
- 12.4k
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('... php
Bebeksi Hıdırcan
- 1
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' => '... php wordpress advanced-custom-fields
wes
- 1
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 ... php html
Dan Suson
- 1
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 ... php ssh output huawei-mobile-services
Narmo
- 1
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 = ... php laravel
Ashraf Khosravi
- 3
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 ... php html jquery twitter-bootstrap-3 modal-dialog
Ahmad Siddiq
- 3
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 $... php arrays wordpress
Justin Blayney
- 579
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&... php mysql wordpress
Tom Dee
- 1
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 ... php bash
sysSTD
- 47
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 php laravel
johnDoe220
- 1
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 ... php typescript symfony yaml symfony6
Jelmer vd Bij
- 21
153050per page