All Questions
740
questions
0
votes
0
answers
34
views
currently logged in user’s ID not being saved in MYSQL DB (Spring)
I am learning Web development using spring. I'm a complete beginner..
I have problem in my project.
there is a user logged in website. and user can create the party(= group).
but here a problem arose. ...
0
votes
0
answers
161
views
MongoDB Laravel Connection Issue - ConnectionTimeoutException
I am facing an issue while attempting to integrate MongoDB and PHP in my project. When I test a regular connection to MongoDB, I don't encounter any problems; however, I wanted to use MongoDB with PHP ...
0
votes
1
answer
34
views
PHP, HTML, MariaDB | PHP gets stuck when connecting
I'm trying to get started with PHP and HTML. I now have an index.html and a .php file (both below). When I execute the PHP file the entry appears in the database, when I click submit in the browser it ...
0
votes
0
answers
61
views
Best way to calculate weight of all rows in a table for sorting?
There's a products table
table products
id favorite_count saved_count weight
1 50 9 2.01
2 80 20 3.3
There are several formulas ...
-1
votes
1
answer
85
views
Can an executable file display a website by precising the url? Can I run a specific website on my own .exe file?
I am hosting a dynamic website on Infinity Free and creating a game with Python that (i want it) to be linked with it (eg. accounts, ingame data,...). I want it to be linked to the Infinity Free ...
0
votes
0
answers
18
views
Image storing for ASP.NET MVC site [duplicate]
I'm developing a movie forum as my pet-project. The idea that I have Movie model which contains title, description and release year, but also I want store cover for the movie and other related photos. ...
0
votes
1
answer
56
views
PythonAnywhere Gitpull Erased Database
I recently uploaded my django website to pythonanywhere (here). I made changes to my code on my local computer and pushed it to Github, then I pull it into my pythonanywhere website.
But when I tried ...
0
votes
0
answers
29
views
BOT Get element in a web site to a database
I want to make a bot who collect information on a website (here backmarket) to put it in a database.
In backmarket, you can sell phone by entering information such as its storage, its status...
...
1
vote
1
answer
76
views
TypeError: (0 , next_connect__WEBPACK_IMPORTED_MODULE_3__.default) is not a function [duplicate]
I'm trying to get my data from mongodb after successful connection by NextConnect package but I got this error:
TypeError: (0 , next_connect__WEBPACK_IMPORTED_MODULE_3__.default) is not a function
...
1
vote
1
answer
40
views
Unable to connect to MongoDB, Error Message
I am trying to connect to Mongo Db my code is as follows;
import express from "express";
import dotenv from "dotenv";
import mongoose from "mongoose";
import cors from &...
0
votes
1
answer
98
views
Invalid value for schema path `user.type`, got value "undefined"
I am creating a basic social media web application using node.js and mongoDB. I am having trouble with creation of a post. I keep on getting error given above and it keeps on pointing at model post.js ...
-4
votes
1
answer
41
views
Does it possible to make always getting update from database without refresh [closed]
I am using Laravel 8 as my framework. Currently working with API mobile, in which I plan to make the data to be always update concurrent with the database.
What should I do in order to make it work ...
0
votes
1
answer
27
views
Unwanted page reloading sqlite3 nodejs
I'm currently making a game list for collection and i use database. I decided to use SQlite3 to communicate with database.
The problem is when I do a fecth to add or remove a game to the collection by ...
-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=&...
-1
votes
1
answer
144
views
Do I need a database to have an online leaderboard [closed]
I'm trying to make a website for a school activity and I want to display a leaderboard with various different stats in a table. I have managed the HTML/CSS parts but for the data itself, I'm not sure ...