427 Topics
|
|
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?? > … |
|
$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. … |
|
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 … |
|
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 … |
|
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(); } … |
|
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" … |
|
$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 |
|
Representing the list may or may not matter for a specific algorithm, but what does a list has to do with a stack/queue? |
|
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 … |
|
How to design levels at all in FPS Creator? and how to insert a desert and trees? and please how to improve AI? |
|
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 … |
|
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? |
|
how to insert textboxes to a png image in cs3 fireworks? |
|
Hi, I need a code for inserting, viewing, editing, deleting in a single registration form in simple way. |
|
|
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 … |
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 … |
|
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", … |
|
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 … |
|
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 … |
|
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() { … |
|
how we can bind values in combobox and insert into database when we create dynamic combobox in c#..please help me.. |
|
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, … |
|
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 … |
|
I want to insert from product (id, name, price). How can I insert it using mvc[c#], mssql manually. |
|
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 … |
|
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 … |
|
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 … |
|
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 = … |
The End.