2,070 Topics
| |
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 … | |
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 … | |
| 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? … |
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 … | |
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 … | |
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. … | |
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 … | |
| 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. |
I need help to increase font size of table values in mPDF | |
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 … | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
How can I insert select list value's(dropdown) name and id into database ? Help will be appreciated. | |
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 … | |
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 … | |
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; … | |
Hi, While printing , the color what I gave in the box , is not coming while printing. How to fix the color | |
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. | |
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 … | |
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 + … | |
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 … | |
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 … | |
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 | |
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. :) | |
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 … | |
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 … | |
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 … |
The End.