All Questions
3,438
questions
1
vote
1
answer
42
views
Php MySQL: How can I make a button that sorts out files by ID or file type? [closed]
I was planning to put a two or more buttons just right above the table that sorts the shown files by id or filetype in ascending or descending order but i don't know where to start. here's what it ...
-4
votes
1
answer
52
views
Trying to do a search button in php, but doesn't work
I'm trying to create a search button but when I click on it,doesn't work.
Should I implement an Onclick Function? How?
( sorry for the italian )
This one is the index.php page where i create the ...
1
vote
1
answer
3k
views
Maatwebsite Excel with Laravel 9 and PHP 8
I installed Maatwebsite with Laravel 9 and PHP 8 using this command composer require maatwebsite/excel:* . Then I got this notice at the end of the installation:
I then register it in the config/app....
0
votes
2
answers
57
views
How Can I show array content inside the body of html
This is my custom user registration form WordPress site, actually, this is my first custom development, and here all the data passes the DB my problem is I need to show my error message inside the ...
1
vote
0
answers
31
views
having 2 problems with my php code im trying to do a link between php, html and sql and i cant get the alter button to work without some PDO error
This is my main code without the conn.php
im having problems to do a button that alter the current register
on the sql
the html boxes are always with the
Warning: Undefined variable $row in
C:\xampp\...
0
votes
1
answer
63
views
How to display a mysql table with php?
I am relatively new to mysql and I have followed a tutorial to get my database to display. I used PHP and I can't find any errors but it doesn't show. Can anyone help?
Thanks
The name of the server is ...
-1
votes
1
answer
99
views
Yearly totals for all months by year
From what I have I'm needing totals for the year:
I used following query;
SELECT
strftime('%Y', Timestamp) AS year,
substr('JanFebMarAprMayJunJulAugSepOctNovDec', 1 + 3*strftime('%m', ...
0
votes
0
answers
67
views
PHP cannot display cyrilic when reading data from SQL Server
When reading and displaying data which is in cyrilic from a Microsoft SQL Server, PHP fails to display it correctly. You can see part of the text displayed (only the non cyrilic stuff)
Here is what I ...
-3
votes
2
answers
93
views
optgroup lable and select options group not to repeat [duplicate]
Grouping items by their category works but its not placing all the products of the category in one optgroup but repeating it.
All the items should be in one group not separate as an duplicate group.
&...
-3
votes
1
answer
164
views
php only displaying first result from sql query [duplicate]
I'm very new to PHP and I'm trying to get some code that someone else has written to work. As the title says it is only showing the first result when it should be displaying many and I have no idea ...
0
votes
0
answers
43
views
Get email from html form and delete it in database inphp
I'm student and I'm new to php and mysql. Please help me with this.
Can you correct these codes and help me with your answers.
This is my html form :
<html>
<head>
<title>...
0
votes
1
answer
53
views
Extracting text from URL using $_GET gives me undefined
I'm trying to extract an id from get-albums-genres.php?gid=".$id." using $_GET and it gives me undefined!
I fetched data for music genres in an array after running an SQL query to extract ...
0
votes
0
answers
136
views
Can i change SQL database from javascript code?
i need to know how to modify a simple data from a sql table from the javascript code. I explain better with a concrete example:
I have a database (named rubik on the image), with a table (cube_setting)...
2
votes
1
answer
498
views
Can't send a submit fetch request
I searched for a long time without results about this question. The problem is that when I try to send an asynchronous request to another web page I don't have any response. I think the problem is ...
0
votes
1
answer
137
views
Connection LDAP through PHP always pass without username
This is my code
GNU nano 4.8 index.php
<form action="<?php echo $_SERVER["PHP_SELF&...