All Questions
538
questions with no upvoted or accepted answers
3
votes
1
answer
122
views
inputs with for-loop with database info PHP
I need help, the problem is that I have a input page (the modified user profile)
where I have a section of addresses and I need to do a loop where each group of inputs I put the information of each of ...
3
votes
0
answers
3k
views
Image is not displaying using TCPDF
I am working in CakePHP 3 application. Here I am using TCPDF for PDF Generation. Everything works fine except image. Image is not displaying.
Here my pdf() action file:
public function pdf()
{
...
3
votes
0
answers
18k
views
Updating / editing images in a database using PHP & MySQL
I'm creating backend pages for my site and I want to edit images that are already existing in my database using input control type "file".
But when I choose a new image it isn't modified in the ...
2
votes
1
answer
86
views
Get checked on checkbox select from database
im working to edit data, and I retrieve data from the database. but when I tried to retrieve data in the form of a checkbox implementation, I experienced a loss in doing so. My checkbox can't check ...
2
votes
1
answer
56
views
How show the values into fields from database
<?php
include 'header.php';
$id = $_GET['id'];
?>
<form action="" method="post" id="validation-form" class="form-horizontal" enctype='multipart/...
2
votes
2
answers
3k
views
input type date to set date which is fetch from database
I have database user consist of attribute like name,password,dob and etc.
datatype is used to store date is date.while updating, I used to fetch like below
$query="select * from user where email='$...
2
votes
1
answer
1k
views
Got Error Message from Xampp "Notice : Undefined index" HTML
Notice: Undefined index: tombol in C:\xampp\htdocs\pw-liana\submitcomment.php on line 2
Notice: Undefined index: nama in C:\xampp\htdocs\pw-liana\submitcomment.php on line 25
And with the same notice ...
2
votes
2
answers
526
views
jquery - autocomplete with PHP
I try to autocomplete a searchfield with jQuery-UI and I have problems using a PHP as source. Everything works fine when I use a variable as source.
JS:
$(function () {
var data = [
"...
2
votes
1
answer
680
views
how to insert value of radio button for each row from php into mysqli database
<?php
include( 'connect.php');
$query = mysqli_query($conn, "select * from users") or die( "unable to connect"); ?>
<html>
<head>
</head>
<body>
...
2
votes
2
answers
238
views
Order rows by clicking column name
I have to order the showed list by clicking on the column-name. I have started with inspiration from this thread, but don't know how to continue with it.
This is my code:
<?php
$result = ...
2
votes
3
answers
1k
views
Update Multiple Values in PHP
I am trying to update multiple values in the database. However, I am only able to update one value at a time when the Submit button is clicked.
NOTE:- I just need to know how to iterate through the $...
2
votes
2
answers
78
views
$ROW = Undefined?
I'm getting
"Undefined variable: row" for the following code at the " return ($row);"
Isn't $ROW defined at $ROW[] = Array(...)?
<?php
function fetchImageState(){
$...
2
votes
1
answer
175
views
Generate html according to category through php or jquery
I am facing a problem to show html like this from my webservice.
In database I have two tables product and product_category both have relation on id like product.category_id=product_category.id. and ...
2
votes
1
answer
67
views
Form is submitting multiple entries to the database instead of single
my code basically override requests (for classes that are full in capacity) submitted by students to specific professors. Let's say 2 students have requested an override to the same class, when a ...
2
votes
1
answer
215
views
Mysqli Database PHP list slow updating
I have this PHP code connected up to a database and echo out a list of email adresses. The problem is that it's updating extremly slowly even if I'm refreshing the page. My first thought was that the ...