2,070 Topics

Member Avatar for
Member Avatar for Niels_1

Hello guys, I have been trying to fix these errors, but it wont work. This are the errors im getting Warning: mysqli_query() expects parameter 1 to be mysqli, object given in /home/335456/public_html/hoi/class.user.php on line 35 Warning: mysqli_fetch_array() expects parameter 1 to be mysqli_result, null given in /home/335456/public_html/hoi/class.user.php on line 36 …

Member Avatar for pritaeas
0
176
Member Avatar for kriwut.keawmit

using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; using System.Data.OleDb; using MySql.Data.MySqlClient; //Add Mysql Library using System.Configuration; namespace MindLab { public partial class ImportFile : Form { MySqlConnection myConnect; MySqlCommand cmd; string strSQL = null; public ImportFile() { InitializeComponent(); //InitializeOpenFileDialog(); } private …

Member Avatar for Dawn2016
0
2K
Member Avatar for RudyM

Hi all, I'll be working on a project that basically takes a UID and displays basic user info like courses taken. Seems simple, but I'd like to read suggestions as to how to best tackle this. I would like to protect against possible XSS attacks and SQL injections. Any suggestions? …

Member Avatar for jacks009
-1
139
Member Avatar for Marco_4

Hello, I'm having trouble uploading all the various data to the database, can you help? The code is this, I have done some testing but the original image and thumbnail are loaded properly in the directory, but all the data are not passed to the database. What is the correct …

Member Avatar for hericles
0
291
Member Avatar for shashigowda

Hi, i need urgent help.. iam working on leave management system(LMS).if the employee apply for the leaves means,one message go to HR inbox (internal application inbox). iam designing inbox for this..it has two parts(2 coloums).in the first coloumn iam displaying messages with employe name,id nd subject(just like preview of the …

Member Avatar for shashigowda
0
246
Member Avatar for nunu_psu

Greetings everyone, I'm still new to android programming and currently leanrning how to connect to DB. I'm following a online tutorial but I'm still facing problems. The tutorial is about creat a registration form and sending it to the database through volley. I'm using .hostinger.ae as host and Android studio. …

0
181
Member Avatar for Marco_4

Hello, simple information. I was creating the connection to the database files with various functions, such as: "Get One, getAll". I wondered if their syntax was safe against sql attacks, though in fact could be improved with the inclusion of the bind, but do not know how to make them …

Member Avatar for cereal
0
180
Member Avatar for godfreysseki

Hello, Help with the php code to select things from the database, put them in ckeck boxes and use the checkbox to select what will return in another table in the database. Thank you.

Member Avatar for cereal
-1
56
Member Avatar for AntonyRayan
Member Avatar for modernfrt

Good day everyone, I'm trying to save an inputted data using JTextfield in JAVA GUI into MySQL database. But when i pressed the save button nothing happens. I want to show you all my work right now. Please try to help me, Thank you in advance! if(e.getSource().equals(save)) { //THE SAVE …

Member Avatar for stultuske
0
6K
Member Avatar for theflashbr

The system basically work in this series: a new registration is made in the database, the system sends me an e-mail notifcando a new record.

Member Avatar for dean8710
0
421
Member Avatar for Hameed_2

Hi. How can i populate asp:treeview only child populate with database query like "select databasename from databse where user_id="45" " and show these database in child treeview.Here is image [image]( tinypic.com/view.php?pic=15cyaew&s=9) I want "Database" remain same and blow child "Database Name",,only 1st 3 records replace with "Database Name" shown just,Kindly …

0
143
Member Avatar for yuvi2288

hi experts, [code=html]<a href="http://www.example.com"> goods </a>[/code] this is the hyperlink i have to used for example. i want to get the term 'goods' in the above hyperlink through jsp if i will click 'goods'. can i get the term in jsp like the below snippet?? [code]<% String goods=request.getParameter("goods"); %>[/code] or …

Member Avatar for Vishija
0
14K
Member Avatar for sahilmohile15

Hello guys, Here i am having another error. Error is undefined index on my products.php page i tried everything i can to define it but if i define it code doesn't work so here's the code products.php: <?php require_once $_SERVER['DOCUMENT_ROOT'].'/Online Store/core/init.php'; //Including database path stored in init.php include 'includes/head.php'; //Including …

Member Avatar for pritaeas
0
377
Member Avatar for altjen

hi all, I am having a problem with importing images into Database with code. I've done this so far Dim conn As New Data.SqlClient.SqlConnection("Data Source=virtualmachinelink,1433;Network Library=DBMSSOCN;Initial Catalog=School Management;User ID=me;Password=mypass") 'dont worry about the connection string, is good, Dim SDA As New SqlDataAdapter Dim bSource As New BindingSource Try conn.Open() Dim …

Member Avatar for AleMonteiro
0
303
Member Avatar for ansh.29

How can I insert select list value's(dropdown) name and id into database ? Help will be appreciated.

Member Avatar for milil
0
301
Member Avatar for Carsten_1

I'm currently working on a website; crafterguide.azurewebsites.net; and I was woundering how to get the best possible login/register/logout page, how get it where when someone creates/log's in to a(n) account that it redirects them to a profile page, and just some feed back and critisizum. And lastly how to get …

Member Avatar for rproffitt
-1
298
Member Avatar for King_6

I checked my spellings and everything for so many times already Here's the code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click If Not cnn.State = ConnectionState.Open Then 'open connection if it is not yet open cnn.Open() End If cmd.Connection = cnn 'check whether add new …

Member Avatar for hericles
0
205
Member Avatar for SagarSe7en

Hello All, I am currently working on developing an authentication system. Below are the details: This code inserts the details (username and password) to the database. the password is hashed and stored in the db package org.controller; import java.io.IOException; import java.io.PrintWriter; import static java.lang.System.out; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; …

Member Avatar for SagarSe7en
0
372
Member Avatar for AntonyRayan

Hi, While printing , the color what I gave in the box , is not coming while printing. How to fix the color

Member Avatar for cereal
0
134
Member Avatar for Carsten_1

I'm currently working on a website; crafterguide.azurewebsites.net; and I was woundering how to get the best possible login/register/logout page, how get it where when someone creates/log's in to a(n) account that it redirects them to a profile page, and just some feed back and critisizum.

Member Avatar for James_43
0
146
Member Avatar for Joemar_1

i have 2 combobox 1 is that to check if the status of the room is available or occupied. i want to show my records into my combobox of what is the room type that is available. for example: cmbroom has two item the "delux" and the "ordinary" in my …

Member Avatar for rproffitt
0
232
Member Avatar for Herbert_1

how can i generate and download database report using itextsharp Public Class GenerateCMR Public Function Generate(CMRGUID As String) As Panel Dim panel1 As New Panel Dim cmrb As New CMR cmrb = cmrb.GetCMR(CMRGUID.ToString) Dim dvtitle As New HtmlGenericControl("div") dvtitle.InnerHtml = "<h1>Compliance Monitoring Report (CMR)</h1><div style='text-align:center; font-size:20pt; font-weight:bold;'><u>" + cmrb.ProponentName.ToString.ToUpper + …

Member Avatar for rproffitt
0
240
Member Avatar for kamilacbe

Hi, I have a scenario like XYZ company is creating a User management System , which allows to purchase for different company , so based on the package the system provides options to save last three or five user password to check and the max is ten . XYZ---| Total …

Member Avatar for rubberman
0
340
Member Avatar for Tashia_1

I am making an application that will automatically fetch information from database and display it on a textbox based on date. So for example i want to fetch a latest article on feb 25,2016. How do i do that? i need help cus im kinda new to c# Any help …

Member Avatar for Tashia_1
0
649
Member Avatar for pezzinae

Hello everyone pleas help me with this I need a formula that can convert my data into barcode with crystal report in visual studio 2013 and Connectcode trial version I'm new with this so any help will be great

Member Avatar for pezzinae
0
160
Member Avatar for chris21

hey guys just wanna ask how to display an image or call the values of the table. but i will input the values to the server im using Xampp as my localhost. i have my admin page yet. but i just wanna know how. thank you. :)

0
167
Member Avatar for Hamis_2

Hi guys,, I developed a Sales Management System its is a stand alone system, i installed in the Pc at first when it had few data it was working finely. Then when data increased it started to be slow in its excution taking some seconds to complete the excution, eventually …

Member Avatar for Hamis_2
0
200
Member Avatar for Bashy345

The code checks if the file exists I am struggling to complete this and save my database (gen0values) and make it open to a file in a table. def exportdata(): print("\nYou chose option 4") import os filename = input("Please type in the filename") if os.path.isfile(filename): print("File exists") else: print("File does …

Member Avatar for Gribouillis
0
388
Member Avatar for lukemaister

So i have been searching all the net but haven't exactly found what I'm looking for and I'm starting to believe that it is impossible. The problem is that I have a local MS SQL Server stored on my notebook. What I would like to do is an android application …

Member Avatar for Kamran_10
0
2K

The End.