2,570 Topics

Member Avatar for
Member Avatar for Ben_718

Hello, so as the title says, I'm looking to include a Session Variable into a MySQL Update statement. I'm not exactly sure what I'm doing wrong, but I certainly know I am. I'm also fairly new to this, so that may explain it lol! Thanks in advance for your help. …

Member Avatar for Dani
0
64
Member Avatar for Catharina

Hi. I have a question. So, I'm registering a user, but a table is created for me (empty), and I can't figure out how to save my data when registering in the database? I tried to write various functions, but I failed. Below I send the code: Users.cs: using Microsoft.AspNetCore.Mvc; …

Member Avatar for rproffitt
0
83
Member Avatar for Raja Huzaifa

Hi its Huzaifa From Pakistan! i am a designer (web and graphic). want to learn **programming**

Member Avatar for Dani
0
263
Member Avatar for Catharina

How can I save the registration data after connecting to the database (an empty table is created for me)? I do this in Blazor (C #). User.cs: [Table("Users")] public class User { [Display(AutoGenerateField = false)] public int UserId { get; set; } [Display(Name = "UserName")] [Required(ErrorMessage = "UserName is required.")] …

0
85
Member Avatar for Asire

Find product who hasn't had any sales in first three months of the year?

Member Avatar for jwenting
0
88
Member Avatar for jessica_10

Hello Everyone! I'm curious on how much should I charge my client to maintain his website? updates, few changes. I am new to this job, so I am not sure how it works, i'm a freelancer. Website Information : 1. Wordpress 2. They have template already, and information on their …

Member Avatar for Dani
0
145
Member Avatar for Jessica_16

I am new to web development but I want to enhance my skills, so please be nice to me. I build a blog already, using wordpress, but is there anyone here build a website for an artist/actor before? Like, for real? Because i knew, we have a copyright for images, …

Member Avatar for Dani
0
55
Member Avatar for Kando_1

Hi Guys, Im not sure how to word the title of this question, but i have a table called "daily_recyclables". Inside this table, i have multiple columns of recyclable materials (example copper, stainless steel, brass etc etc) In my PHP application, i have a statistic card (like below) that is …

Member Avatar for Dani
0
71
Member Avatar for sonnet2

In my workplace, we have an intranet website developed internally that we use for CRM. The data of our clients are shown there (MS SQL server is used as a backend to store data). The site has a limited search functionality at the moment (it'll try to match the text …

Member Avatar for Dani
0
72
Member Avatar for Manggala

I have three tables: First table is 'user': user_id | Name | ---------------------- 1234354 | Abu Bakar | 2543353 | Ali | 3342342 | Aliza | 4234243 | Ali | 5234324 | Mike | Second table is 'meeting': meeting_id | meeting_name | meeting_startDate | meeting_endDate | room_name | ---------------------------------------------------------------------------------- 1 …

Member Avatar for rproffitt
0
117
Member Avatar for Manggala

I need help for my code after the user done register for their new account in my system. Here is the verification link that the user will receive via email for him/her to verified the email: `http://localhost/staff/email_verification.php?activation_code=49024f2e7b8c05dc1g66005g780g6060 ` But, when the user click on above link, I notice based on …

Member Avatar for Dani
0
152
Member Avatar for potato_1

Hello, I want to use the checkbox to update the status of a row in mysql using php. If it is checked and submitted, the status will change from 'collect' to 'received'. I tried many ways but I am not sure where the problem is :( please help! <?php include(config.php); …

Member Avatar for Dani
0
1K
Member Avatar for Fedwa

Hi everyone here, I'm trying to show information about the material according to the year of meeting(is a meeting when they decide to buy a new material) so I use a drop-down list and the information will show according to the year chosen by the user, but it shows the …

Member Avatar for Dani
0
6K
Member Avatar for روان

Write a Java program that asks the user to enter items until the user chooses to stop, stores them into links (nodes), and chains the links together into a linked list. You will need to make the following changes Your linked list should store information about Customers' Transactions that . …

Member Avatar for Dani
0
62
Member Avatar for tanpuia

![Screenshot_(2).png](https://static.daniweb.com/attachments/4/c0a0afbf51cd49a05979817aec55aae8.png) ![Screenshot_(1).png](https://static.daniweb.com/attachments/4/64076d813428db9ea62993455ba6feb8.png)

Member Avatar for Dani
0
55
Member Avatar for Ayna_1

Hi! When I am running this code, the output looks how I expected it to be, but the problem is that I cannot go back to home page whenever I want to. I dont know why but when I tried to go back to home page after visiting the tips …

Member Avatar for rproffitt
0
68
Member Avatar for rosh988

<?php $firstname = $_POST{'firstname'}; $username = $_POST{'username'}; $emailaddress = $_POST{'emailaddress'}; $password = $_POST{'password'}; $contact = $_POST{'contact'}; //Database connection $conn =new mysqli('localhost','root','','registration'); if ($conn->connect_error) { die('connection failed : '.$conn->connect_error) }else{ $stmt = $conn->prepare("insert into users(firstname, username, emailaddress, password, contact) vlaues (?, ?, ?, ?, ?)") $stmt-> bind param("ssssi",$firstname, $username, $emailaddress, $password, …

Member Avatar for Dani
1
40
Member Avatar for clementer

I have an array list that looks like this. 8.1,6.5,4.4,3.2,1,8.9,5,1.4,0.1,1,8.7,6.2,4.3,3.2,3 I would like that my program selects every 5 numbers randomly. for example to select 8.1,6.5,4.4,3.2,1,8.7,6.2,4.3,3.2,3 as you can see it selected 5 numbers from the begging and 5 more from the end and saves them Random random_method = new …

Member Avatar for rproffitt
0
234
Member Avatar for Udara_1

I want connect microsoft sql server database using servername,username,password,port number and service name to asp.net api 2019. This code segment I'm using SqlConnection con = new SqlConnection(@"server=10.d.13.2q0; database=sdssdsd; Integrated Security=False; User ID=lmgdgdfdfddgs; Password=sdsdsdsds"); please help me. what is the correct code

Member Avatar for rproffitt
0
121
Member Avatar for andreal

ScanningI'm looking forward to implement a typical "nav" section for the articles in my website. Something like this: **Folder > SubFolder > SubSubFolder** To this end, I think that the best way is to create a database of two tables. The **first** one is called "*Category*": id - title - …

Member Avatar for Dani
0
73
Member Avatar for Sarahle

For example: Http:localhost:8080/api/customer/{id} If I post in postman instead of Id a parameter it will work fine , But in html I’m asking the user for an input and than I want to pass the input in the path instead of the Id Is it possible ? Only spring boot …

Member Avatar for Sarahle
0
731
Member Avatar for Firuz

TypeError Traceback (most recent call last) <ipython-input-5-46b9c90f7339> in <module> ----> 1 a = Article(article_title = "Какая-то крутая статья",article_text = "Какой-то крутой текст ...",pub_date = timezone.now()) /usr/lib/python3/dist-packages/django/db/models/base.py in __init__(self, *args, **kwargs) 499 pass 500 for kwarg in kwargs: --> 501 raise TypeError("%s() got an unexpected keyword argument '%s'" % (cls.__name__, kwarg)) …

0
18
Member Avatar for Magic8Computing

I have some crystal reports that i would like to use PHP in order to execute the reports and then either view the reports in the browser as is or to generate PDF files. Does anybody know how to do this and what is required to be installed on the …

Member Avatar for rproffitt
0
950
Member Avatar for Marco_18

Hello, I created a function to show data related to a database called skede with fields "name" "surname" "age" in a page called vive.php This is the code function mostraskede(){ $ricercaskede = query('SELECT * FROM skede ORDER BY id LIMIT 1 OFFSET 0'); conferma($ricercaskede); while ($row = fetch_array($ricercaskede)){ //echo $row['titolo']; …

0
36
Member Avatar for Cow cow

I want to make sqlite table like this format: | Matric | Name | GitHub Link | Status | |--------|-------------------------- |---------------------------|--------| | 243340 | Yu Zhixiong | https://github.com/abcde | Yes | | 250634 | Ahmad Afham Bin Noor Azizan | | No | I get two link is first link …

Member Avatar for rproffitt
0
112
Member Avatar for Papa_Don

Hi group, It's been some time since I last posted. It's good to be involved in programming again. It's been much too long. It's been a while since I've written code that would write to a SQL database. It seems like the connection string is correct. However I'm getting a …

Member Avatar for JamesCherrill
0
45
Member Avatar for litha

Hi Please help I'm getting this error on a perl script DBI->connect using 'old-style' syntax is deprecated and will be an error in future versions at /home/dbadmin/perl/adm_audit_mhs line 43 $dbh = DBI->connect('xe', 'ops$dbadmin', 'm00nwalk', 'Oracle') or die $DBI::errstr; (this is line 43) Thank you in advance

Member Avatar for pritaeas
0
46
Member Avatar for scrummy

There is a PHP login code but I don't know how to show the error message when the user types wrong datas into the input fields. I used to have a `echo"Wrong username or password!";` But I want to display a DOM element. I don't know how to make it. …

0
3K
Member Avatar for scrummy

I have a page that list all of the users from mysql database. I put a **delete** button in it so you can delete the profile instantly. But I didn't want to delete the user instantly so I put a code that create a modal box when you click onto …

0
279
Member Avatar for Kalli_1

somebody please help me with swapping pictures in a picturebox using only 1 button in visual basic forms 2017 https://www.daniweb.com/community/contribute#swapping

Member Avatar for rproffitt
0
24

The End.