All Questions
3,441
questions
-3
votes
0
answers
45
views
PHP login code will not proceed past $result = mysqli_query($conn, $sql); [closed]
im trying to create a login page for my website and I am trying to just get the function to work but the code wont make it any further than $result = mysqli_query($conn, $sql); and i dont understand ...
0
votes
0
answers
80
views
HTML & PHP page loading becomes slow for 3 while loops [closed]
The loading time of the page is very very long, and the small sections is coming one by one. It is because I am using 3 WHILE loops. Is there any other way so that I can reduce the loading time ?
My ...
0
votes
3
answers
68
views
how to make cells in <td> tag
I have a table like this :
No
Name Product
Type
Num of Units
1
ADA
B112
3 Pcs
2
ADA
B253
1 Pcs
3
ADA
K23
6 Pcs
4
DUZK
l1
10 Pcs
5
DUZK
l5
10 Pcs
6
Naro
NX
1 Pcs
I have this SQL :
$query = &...
0
votes
0
answers
20
views
Only my first SQL statement is working, the following statements appear to be broken [duplicate]
I am a student creating a dynamic website for a school project and I'm attempting to implement a checkout button which selects all items from the basket and inserts each of them into a new order. ...
0
votes
0
answers
41
views
Using Ajax for Labels
I am working on a website page that displays and loads up the menu details once the user clicks on a label by using ajax but it seems that it is not working, I am new to ajax if anyone could review my ...
-2
votes
1
answer
54
views
How can I get HTML/PHP to just print the data from my SQL database without all the Array Jargon
I'm currently learning how to use PHP and SQL in tandem. I'm trying to use PHP to display data from my database straight onto my website. I know it's probably rudamentary, but I have scoured the ...
0
votes
1
answer
29
views
Laravel Searchbar Function Returns Undefined Key
My laravel searchbar is returning Undefined Key. It is returning Undefined Key: 'Search' Here is the controller function:
public function search() {
$search = $_GET['search'];
$...
0
votes
0
answers
34
views
Filter by Hashtag Search Button
i am trying to allow users to filter comments by the hashtags used in them but i am very new to php so do not understand how to link them together (the search button in my html and search in my php)
...
-2
votes
1
answer
106
views
Uncaught PDOException: SQLSTATE[21S01]: Insert value list does not match column list [duplicate]
So i've tried for the past hours to make sense of this Exception but it keeps saying the insert value list doesn't match column list.
This is the code for my php:
function insert_data($humidity, $...
-2
votes
1
answer
101
views
Unable to get row values along with dropdown list [duplicate]
<thead>
<tr>
<th>User ID</th>
<th>User Name</th>
<th>Designation</th>
<th>M a r k A t t e n d a n c e</th>
</tr>
&...
0
votes
0
answers
37
views
Total rating and average rating star showing wrong [duplicate]
I am trying to learn by doing some projects, this it helps me to learn better but I got stuck in between I am trying to display Average rating and total rating and Total reviews but it is not show ...
-1
votes
1
answer
76
views
how to write a line breaker for sql data in html
I want to show the data which is stored in sql column like a package details of a tour. when i am calling that column it's displaying details but it's not showing in clean and neat way. It's ...
0
votes
1
answer
36
views
I am working on an inventory program (web based) for my local gameshop. Trying to create an update page. Values are not carrying over
I have the first page that displays current inventory. Works fine.
I have the second page that displays items that match the SKU entered on the first page.
If I select the first one, values for ...
0
votes
0
answers
23
views
FILTER_VALIDATE_EMAIL works for fake email but not an actual email [duplicate]
I write a fake email like name.fakegmail.com and it allows the email but i write my actual email and it's invalid. Any ideas of why this could be happening
function invalidEmail(string $email): bool
{
...
-1
votes
1
answer
31
views
What is wrong with my sql requesting query? [duplicate]
I try to build my website with sql requests but when I try to make some request it gives me an error. I am a newbie in web, so I can't say what is going on. Can you help me?
<!DOCTYPE html>
<...