427 Topics

Member Avatar for
Member Avatar for sanket044

Hello, I am right now having a dedicated server and when i try to execute a INSERT query in table of 2 Lakh rows it takes about 0.02 seconds. so i am having a website where i need to update all 2 Lakh rows every 15 mins. but it sims …

Member Avatar for pritaeas
0
645
Member Avatar for Tcll

I've been here before but I'm looking to find a single-pass method to input the LRS `[[0,0,0],[0,0,0],[1,1,1]]` and get a basic 3x4 (at least) matrix in return: [ [1,0,0,0], [0,1,0,0], [0,0,1,0] ] ^ matrix is NOT transposed (I'll never understand why we use column-major) anyone got anything on this?? > …

Member Avatar for Tcll
0
489
Member Avatar for nadiam

$username = $_POST['username']; $password = $_POST['pass']; $query = "SELECT id,name,username,password,status FROM users WHERE username = " . $dbh->quote($username); $result = $dbh->query($query); $userData = $result->fetch(PDO::FETCH_ASSOC); $userName = $userData['username']; $hash = $userData['password']; $status = $userData['status']; if($username == $userName) { if(password_verify($password, $hash)) { if($status == 'Request') { echo "<script>alert(\"You have not been activated. …

Member Avatar for diafol
0
282
Member Avatar for Dankwansere

Hey guys, I've struggling to implement this solution for about a week now. We are using word templates that have inline shapes drawn inside. The inline shapes are used as a place holder to programatically insert image bar codes into the document. Previously we were using Ms.Interop.dll libraries to achieve …

0
115
Member Avatar for Mihailo_1

I have 1 gridview with big table...colums:k,mi,ib and 3 textbox...texbox1 is first column,textbox2 is second and textbox3 is third! I want when i type some number in textbox1(That number is K),i want to textbox2 and textbox3 give me value of mi and ib in same row as k...but i got …

Member Avatar for Mihailo_1
0
258
Member Avatar for UK-1991

Hello Experts, I hate PHP when these things comes in front of me every time when i create and insert query I stuck up by viewing everything is ok but not working don't know why. please help me out previewuser.php <?php include_once('includes/header.php'); include_once('includes/session.php'); include_once('includes/functions.php'); include_once('includes/connection.php'); if(isset($_POST["submit"])) { echo add_user(); } …

Member Avatar for pritaeas
0
2K
Member Avatar for shankar.nstl

Good afternoon, I have a very little knowledge in php mysql. I want to make a periodical report of my company's strength of various departments. I have a html page like <!DOCTYPE html> <html> <head></head> <body> <form action="" method="post"> Department : <select name="dept"><option>admin</option><option>finance</option><option>motor dept</option><option>logistics</option></select> Designations:<select name="design"><option>clerks</option><option>executives</option><option>helpers</option><option>drivers</option></select> No. of employees:<input type="text" …

Member Avatar for tobyITguy
0
214
Member Avatar for Devi_3

$str="james//bond"; $str= mysqli_real_escape_string($con,$str); //insert query after successful insert in database it value shows as "james/bond" how I can insert exact string

Member Avatar for Gideon_1
0
270
Member Avatar for printf

Representing the list may or may not matter for a specific algorithm, but what does a list has to do with a stack/queue?

Member Avatar for JamesCherrill
0
151
Member Avatar for AlexDada

I was wondering if anyone could tell me how I would approach building a music search engine using php and mysql. I have a design for my Music search engine which I did using html css on Dreamweaver and I have some mp3/audio files on my computer and all i …

Member Avatar for diafol
0
405
Member Avatar for hefaz

How to design levels at all in FPS Creator? and how to insert a desert and trees? and please how to improve AI?

0
140
Member Avatar for mad_1

Hi , i need some help in completing a small task . " How to insert,update,delete record in data grid view using inline i.e (suppose if we update a record in the data grid then after click on the next row the data which is updated should be save directly …

Member Avatar for deceptikon
0
230
Member Avatar for AntonyRayan

In a form, I am displaying a select box value , based on that select box value i show two more select boxes using ajax in div id. And I don not know about session, I want to save that in session using ajax . How to do?

Member Avatar for lps
0
198
Member Avatar for hefaz
Member Avatar for AntonyRayan

Hi, I need a code for inserting, viewing, editing, deleting in a single registration form in simple way.

Member Avatar for AntonyRayan
-1
236
Member Avatar for diafol

I've been playing with PDO and got quite a shock, so I thought I'd run this past you all. I love PDO, and I thought that the "prepare once, execute many" idea behind prepared statements was beautiful. Now previous to using prepared statements, I used to build up a long …

Member Avatar for diafol
4
12K
Member Avatar for wilsonchama

Hi guys, My application Cannot insert Record into Table more than once. There are 3 textboxes on the form in which the user enters data to be inserted in the table. And a command button holding the code to perform the action. What is happening is, when data is entered …

Member Avatar for wilsonchama
0
185
Member Avatar for coder91

Hi I have the following code to insert data into a db int svcTypeID = Convert.ToInt32(comboBox1.SelectedValue); String svcGuid = label2.Text; int heartbeat = Convert.ToInt32(textBox1.Text); String hostname = System.Net.Dns.GetHostName(); Guid gu = new Guid(svcGuid); SqlConnection conn = new SqlConnection(@"Data Source=x\x;Initial Catalog=task_system;Integrated Security=True"); SqlCommand cmd = new SqlCommand("storedProc"); cmd.Connection = conn; cmd.Parameters.AddWithValue("@guid", …

Member Avatar for coder91
0
211
Member Avatar for zizo.ahmed.779

hello everybody...nice to back again i m working on project to calculate measures and numbers and insert data inside datagridview(dgv) from number.text and measure.text but if value of measure.text present in dgv son update number cell with new value + present value problem is how to do so.... i tried …

Member Avatar for zizo.ahmed.779
0
3K
Member Avatar for Amiet_1

Guys I want to insert a Null dateTime Value into SQL database connected to C# desktop application. I'm using following code. I can insert Null dateTime Value into database, but I am having problem with how to update dateTime picker value and saving it into database.. I'm posting my code …

Member Avatar for Amiet_1
0
6K
Member Avatar for ramkishor

sir, i have created a global variable on one button click within for loop this variable has many records i want each record to be inserted on another event can it be possible. as string str; button click() { foreach(datarow dr in dt.rows) { str=dr["field"].tostring(); } } submit button() { …

Member Avatar for djjeavons
0
211
Member Avatar for ramkishor

how we can bind values in combobox and insert into database when we create dynamic combobox in c#..please help me..

Member Avatar for ramkishor
0
692
Member Avatar for elamigosam

hello, I am having issues inserting comma separated values to my database, this is what I have: $invoiceProducts = "14:12,"; // eventualy the 14:12, will multiply to other values 43:2,34:1,45:1, etc $invoiceProducts = addslashes($invoiceProducts); //stripslashes() to remove the slashes tried with and without stripslashes. $stmt = $conn->prepare("INSERT INTO invoices (invoiceActive, …

Member Avatar for elamigosam
0
312
Member Avatar for phpcake

I have website that enables user to select favourite websites, date of visiting the website, comments like how satisfied with the website they visited on that day. Initially there are four rows are hard coded and inserted into the mysql database. Then there is a add button enabling user to …

Member Avatar for lps
0
329
Member Avatar for JerrimePatient

I want to insert from product (id, name, price). How can I insert it using mvc[c#], mssql manually.

Member Avatar for pritaeas
0
326
Member Avatar for niranjanjee
Member Avatar for lps

I currently wish to write a query to duplicate data in database while modifying one column. First of all, my database structure: table code CURCD NOT NULL VARCHAR2(3) CODE NOT NULL VARCHAR2(2) ITEM NUMBER(1) DSCPT VARCHAR2(20) The unique idx is the curcd,code,item. What I wish to achieve is duplicate data …

Member Avatar for lps
0
302
Member Avatar for Nguyen_4

I import excel file and show on datagridview I want insert all row datagridview to mysql. But i receive error: Incorrect date value:'11/14/1991 12:00:00 AM' for column 'Ngaysinh at row 1. Mysql : i using date : yyyy/mm/dd datagridview show : mm/dd/yyyy. i don't know error: '12:00:00AM ' ???? column …

Member Avatar for JerrimePatient
0
1K
Member Avatar for dennishall

Hi: I've been banging my head over this all day... I'm attempting to create my first WordPress theme and have hit a wall trying to work with the "the_post_thumbnail()" function. In my theme, I'm using panels to navigate the site (rather than a top menu) and have them setup so …

Member Avatar for lps
0
254
Member Avatar for Hong_1

Following is the javascript that will change the images in a specific time function startTime() { var timerid = 0; var images = new Array("CSS/Images/shy-baby.jpeg", "CSS/Images/yao-ming.png", "CSS/Images/success.jpg"); var countimages = 0; if (timerid) { timerid = 0; } var tDate = new Date(); if (countimages == images.length) { countimages = …

Member Avatar for DaveAmour
0
248

The End.