Skip to main content

All Questions

Tagged with
-1 votes
1 answer
49 views

Mysql/html how to get output like this, or similar

PhpMyAdmin Looking for output like this: In Mysql/PHP, how can I get output like this, or similar (photo 2)? $start = mysqli_query($conn, $sql); if (mysqli_num_rows($start) > 0) { $row = ...
HIHAWA's user avatar
  • 9
-1 votes
0 answers
40 views

Problem displaying products from database [closed]

I am learning php and i am trying to upload product info from database to the website, but it's only uploading the image and displaying the message no results for price,description and product title. ...
-2 votes
1 answer
96 views

php variable not handling variables with spaces in them as it should [duplicate]

I am trying to get my mysql database to update a value in a column when a checkbox is checked/unchecked. This works for 1 word variable, but somehow refuses when the checkbox that is checked has 2 ...
FGOD's user avatar
  • 1
-2 votes
1 answer
100 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> &...
Jitesh Gala's user avatar
-4 votes
2 answers
108 views

how to write a statement to determine if the user is an admin? in php

My problem per my instructions You will need to add an additional field to the members table to specify who is an administrator. This will be manually populated by the database administrator (you) ...
game pro's user avatar
-1 votes
4 answers
104 views

How do i update form fields from DB after changing a <select> component

I have a form which lists a number of stars (stellar objects) upon there is a <select> control and two <inputs> I am needing advice on populating the two inputs from the DB upon the change ...
ZJ Green's user avatar
-1 votes
1 answer
58 views

How do I insert data to table from a while loop that fetch another table data?

I was try to get CompanyID and JobListingID from the while loop so after clicking apply button it can pass the data to another table called application, but somehow it only pass the latest ...
user16804141's user avatar
-1 votes
2 answers
1k views

PHP form using Post. Error: Undefined array key [duplicate]

HTML: <form action="submit.php" method="POST" > <div class="file-input"> <input type="file" class="...
Destinovic's user avatar
0 votes
0 answers
35 views

Failed to get sum of a specific row in php [duplicate]

Failed to get total of students in a specific class from mysqli Am trying to get the sum of students in a specific class from table. I have a code that gets duplicated rows so I want to count those ...
kato james's user avatar
-1 votes
1 answer
87 views

Echo back a newly generated (auto increment) user id immediately after form submission?

After my users submit some basic info in a form, how do I get the newly created userID to be echoed back to a hidden field on the header (redirect) page? The first form contains basis Name, Phone, ...
DarthCoder's user avatar
-2 votes
1 answer
52 views

I'm trying to edit/update my product page using php prepared statement

I'm having problem trying to edit/update my product page which has multiple images using php prepared statement. if i have only one image in the image field it will update and unlink the oldimage ...
Abuchi's user avatar
  • 1
0 votes
0 answers
28 views

Can't link my HTML/CSS Register form to MySQL database [duplicate]

This is my first time trying to link an register/login form to an database. I've done some research on how I should do it and kind of followed an tutorial via youtube but I can't make it work. This is ...
Razvanul's user avatar
0 votes
1 answer
171 views

How can I use checkboxes to delete rows with php and mysql

I created a table with database information and tried to create checkboxes to be able to delete lines more easily, but something is not working correctly. I have a button with form: <form action=&...
Crespum's user avatar
  • 31
1 vote
0 answers
29 views

Delete hyperlink and function not working on web page

I tried to add a delete "button"(link to file with function) it should delete a row from the database, but it didn't work. I looked for tutorials and answers on forums but found nothing how ...
MaxDex's user avatar
  • 11
-1 votes
1 answer
76 views

$File[] not receiving image from HTML form and sending to Localhost Database [duplicate]

1 month, 5 hours daily I try to fix my problem. Asking here and there but so far seems unable to find exact solution. <form action="connectionfile.php" method="POST" enctype=&...
Am Salman's user avatar

15 30 50 per page
1
2 3 4 5
107