473,549 Members | 2,741 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Some time data inserted in database and some time not

1 New Member
Hello,
I developed a project and i used PHP , AngularJS, JavaScript, Jquery, Mysql technology. When any user want to register then he/she has to fill all 4 steps after that user is registered. when user is register then sometime all data inserted into database, sometime only step 1st data is inserted but 2nd and 3rd step data is not inserted properly. It happened only some time not every-time and user dose not get any error message. After registration if i am trying to insert user's remaining information through admin panel that time also data can not be inserted and am not getting any error message.

Why this happened please help me.
May 3 '16 #1
1 1189
Dormilich
8,658 Recognized Expert Moderator Expert
Why this happened
you’re not using SQL transactions and you’re missing input validation/database error handling.

with this much information that’s pretty much all we can say.
May 4 '16 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

7
2238
by: jude | last post by:
Hello, We are starting to discuss a new ASP.NET application that will be a data acquisition display application. The data to be displayed will come from multiple sources--database tables, serial and Ethernet PLCs, OPC servers, etc. The application will need to display graphic gauges and charts, in addition to the actual values retrieved...
2
2461
by: x | last post by:
hi i am a pilot by profession. i want to create a database of my logbook using ms access 2002. i am facing a problem regarding the format of time field. when i select "Data/Time" data type for my time field then this format gives the liberty to record times uptill a figure of 59 in different sub-formats, whereas i want the format to be able...
6
12532
by: Luvin lunch | last post by:
Hi, I'm new to access and am very wary of dates as I have limited experience in their manipulation and I know if they're not done properly things can turn ugly quickly. I would like to use a calendar control to allow my users to enter a date but I need them to enter a time as well. It doesn't look like the calendar control will allow...
2
6992
by: kk.simhadri | last post by:
Hi All I am having an ASP page which will get some set of files from VSS.After that, in the same page I am running a bat file to remove some unwanted files.Then I am displaying the files remaining in the page. Every thing is working fine ,but the bat file is taking some time to remove the files. so first time when it displays the files ,...
10
3058
by: Martin Hughes | last post by:
Hi guys, I was wondering if anyone could give me some advice. I am looking to develop an ASP.NET application that will enable several workstations to access real time telemetry data received from a vehicle on a track. The data flow would be as follows: |-- Workstation 1
1
8258
by: jamal8t2 | last post by:
i have inserted blob data in database , but i am not able to access back that data to the browser. i have php script but it does not work proprly. our script is below if ($_REQUEST == 1) { header("Content-type: image/jpeg"); print $bytes; exit (); }
9
6167
by: =?Utf-8?B?VHJlY2l1cw==?= | last post by:
Hello, Newsgroupians: I've an optimization question for you all really quick. I have a stream that I am reading some bytes. At times, the stream can contain a small amount of bytes such as 50 or so or it can contain as much 10000000 bytes. In reality, I do not know the maximum number of bytes. In my function, I am going to read() the...
2
1557
chathura86
by: chathura86 | last post by:
public void insertData(String sql) { if(conn != null) { SqlCommand cmd = new SqlCommand(); cmd.Connection = conn ; //setting the connection to sql command cmd.CommandText = "INSERT INTO Bla bla bla"; //setting the sql conn.Open() //open database connection cmdUpdateLog.ExecuteNonQuery();...
2
3653
by: nospam | last post by:
I have some data that I need to run date diffs on. The catch is that for some of this data, there is a date value in one of the fields, with no time. It might look like this: ROW DT1 DT2 1 1/1/08 8:00 AM 1/1/08 10:00 AM 2 1/2/08 9:00 AM 1/2/2008 3 1/3/08 10:00 AM 1/3/08 12:00 PM 4 1/4/2008 1/4/08 1:00 PM...
1
1312
by: mrutyunjaya | last post by:
when i used this code when i running second time from xml file it shows that testdbo.xml used by another user //StreamWriter xmlDoc = new StreamWriter(Server.MapPath("~/Testdo.xml"), false); DataSet dsbase = new DataSet(); StreamWriter xmlDoc = new StreamWriter(Server.MapPath("~/Testdo.xml"), false); ...
0
7520
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7450
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7957
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
6043
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5088
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3500
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1941
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
763
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.