Skip to main content
The 2024 Developer Survey results are live! See the results

All Questions

Tagged with
1 vote
2 answers
97 views

Is this good way to use php in html page

<?php require_once('dbcon.php'); $query = "select * from indexpage"; $query2= "SELECT * FROM `blogintro` ORDER BY `id` DESC;"; $query3= "SELECT * FROM `indexjob` ORDER ...
vikram's user avatar
  • 11
0 votes
0 answers
30 views

how to handle the undefined array key problem in php [duplicate]

**i was trying to show the result in like a list in a page , but it shows undefined array key problem . i'm still learnign php and new to thisenter image description here. how to fix this ? i'm ...
Sad- A ProgramoPhile's user avatar
0 votes
0 answers
40 views

problem with POST route in nextJS and MySQL

I'm starting with NextJS (and web at all) and I'm trying to make a route to add a pokeId to a user (mysql database), but I'm encountering problems Prisma Models: model User { id Int @id @default(...
Márcio dos Santos Júnior's user avatar
2 votes
0 answers
32 views

Input tag is not selecting multiple images in some devices

I have created a website where users can upload the questions with images. For that purpose I am using input tag with "multiple" attribute to select multiple images and upload it into the ...
Nandini Srivastava's user avatar
0 votes
0 answers
41 views

sync data from mobile app to DB and show it on web page

I developed an Android-App and now I want to sync the data from the app to a database. The solution i found was to use volley to post a request to php script, which also handles the db communications. ...
BhaLabi's user avatar
  • 12
0 votes
0 answers
27 views

How to store product specifications table in database [duplicate]

In product detail page, I want to display a table of specifications with two column and many rows. I could do it easily by storing the specs in JSON file, but I guess it will not be the best way as ...
Tập Cận Bình's user avatar
-4 votes
1 answer
327 views

why can;t I open my php file on localhost?

This is my code: <!DOCTYPE html> <html> <head> <title>Retreat Reservation System</title> <link rel="stylesheet" type="text/css" href=&...
dbafix's user avatar
  • 83
2 votes
2 answers
84 views

i am getting an error as "Cannot set headers after they are sent to the client" in node js connected to mysql

i was tring to create a signup form connecting react to the backend using node.js. it worked fine, but now i am facing problems as Cannot set headers after they are sent to the client when the ...
DHARSHINI S's user avatar
2 votes
1 answer
315 views

Spring GraphQL return NULL

I want to create my own website in the form of a blog using Spring Boot and GraphQL API, but I don't understand how to connect the database to GraphQL. When making a request through /graphiql, it ...
сергей иванов's user avatar
1 vote
1 answer
4k views

Cannot autowire service "App\Controller\MainController": argument "$session" of method "__construct()"

There is my MainController: <?php namespace App\Controller; use App\Entity\ShopCart; use App\Entity\ShopItem; use App\Repository\ShopItemRepository; use Doctrine\ORM\EntityManagerInterface; use ...
Anf_Fun's user avatar
  • 31
0 votes
1 answer
272 views

bad post request, code: 'ER_BAD_NULL_ERROR', errno: 1048, sqlMessage: "Column 'user_name' cannot be null", sqlState: '23000' (angular)

I have a problem with posting data to Api and sending it to the database, the values are sent NULL to the >database. here is the code i used: component typescript component html api node.js I ...
Ala'a Ashour's user avatar
-3 votes
1 answer
70 views

Little problem with display data from local server in html table with php and sql

Today I have a little problem, with basic and maybe funny thing. Today I wanted make table with data from sql server. For that I use Xampp for that and maybe is verry common choose for that. The ...
AnoDev DevJunior's user avatar
1 vote
1 answer
47 views

With existing "mySQL Database" and "website", want to connect/synchronize both part how to accomplish by Python

Main problem: I have existing mySQL Database and website, how do I connect/synchronize both, that input or update from mySQL, can also result in website too I did learn HTML, CSS but was required to ...
user avatar
1 vote
0 answers
197 views

MYSQL LOCAL INFILE command server wants to read - ExpressJS, Mysql2

I am trying to import a CSV programmatically into my web app, and when I make an SQL request I am met with this error Error: As a result of LOCAL INFILE command server wants to read path/to/myfile.csv ...
Christian's user avatar
0 votes
0 answers
161 views

How to store pdf resume files in the file system and save link in mysql in a laravel project

I am working on a project in laravel that stores the query and informations about organisation staffs. For that, I need to store their photo and resume in pdf format. I am using Image Intervention ...
Aynaa's user avatar
  • 1

15 30 50 per page
1
2 3 4 5
68