Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
12% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
38
Posts with Downvotes
18
Downvoting Members
20
7 Commented Posts
0 Endorsements
~11.0K People Reached
Favorite Tags

65 Posted Topics

Member Avatar for sidra 100

hey how to clear the screen in c++ i m using dev c++. clrscr()doesnot work

Member Avatar for adityatandon
0
213
Member Avatar for sidra 100

hey m making a website which use to tel the daily report. there are many other functionalities as well. i have three tables concerned with this problem 1. shift 2. molding section 3. intermediate store on the basis of date and shift num, shift ids are assigned now i want …

Member Avatar for sidra 100
0
112
Member Avatar for sidra 100

m geting an unexpected error in my code plz tel me where am i wrng my code because i have wriiten mysql_num_rows many time [CODE]<?php session_start(); print_r($_POST); $con=mysql_connect("localhost","root",""); mysql_select_db("pras2",$con); $slip_no=$_POST['slip_id']; $query="SELECT * FROM `slip` WHERE slip_id='$slip_no'"; $result=mysql_query($query); if ($result) { $query1= "UPDATE `slip` SET status='accepted' WHERE slip_id='$slip_no'"; $result1= mysql_query($query1); if($result1) …

Member Avatar for cossay
0
87
Member Avatar for sidra 100

hi n working with a code but m facing a problem of undefined index. i have seen it occurs due to unavailablity of data or like that but here i m declaring that data jst before its use. rest of variable are working correctly just SESS_dept is giving error plz …

Member Avatar for charlybones
0
171
Member Avatar for sidra 100

hi m using php n mysql m trying to merge two tables of same database and then print them but somehow it is not working it gives me the error my code is [CODE]<?php session_start(); print_r($_POST); $con=mysql_connect("localhost","root",""); mysql_select_db("pras2",$con); $date= $_POST['date']; $shift_num=$_POST['num']; $query="SELECT shift_id FROM shift WHERE shift_no='$shift_num' AND date='$date'"; $result=mysql_query($query); …

Member Avatar for cereal
0
111
Member Avatar for sidra 100

hi m facing same problem from 2,3 days i m too confused now. i m making an application. when i take data from from dont know why it doesnot reach the other page as print_r($_POST) is empty my code of both files are" [CODE]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); ?> <!DOCTYPE html PUBLIC …

Member Avatar for sidra 100
0
149
Member Avatar for sidra 100

hi i m writing a program it is workng fine but doesnot update my database it gives me error since there are 4 query how can i know which one is wrong my part of program is: [CODE] $query2="SELECT * FROM rpms WHERE product_name='$raw_material1'"; $result2=mysql_query($query2) or die(mysql_error()); if ($result2) { …

Member Avatar for baruchM
0
91
Member Avatar for sidra 100

hi i am making a program in php. it actualy involves two tables from database one is order and other product_details i want that when i select a order i get its product and quantity and respective to that product i find quantity of first raw material reqruired. and then …

Member Avatar for pritaeas
0
124
Member Avatar for sidra 100

hi m writing a program n storing a values in session but one of them i.e of prie is not working . can any1 tel where m i wrong [CODE] $name=$_POST['P_list']; $quantity=$_POST['quantity']; $query= "SELECT product_name, unit_price FROM product WHERE product_name='$name'"; $result=mysql_query($query); if ($result) { if (mysql_num_rows($result)==1) { $orders = mysql_fetch_assoc($result); …

Member Avatar for pzuurveen
0
125
Member Avatar for asisani123

is 'register' a variable name? if yes then u can also do [CODE]register-$_POST['register'];[/CODE] but looking a ur code i think its the name of form if i m not wrong

Member Avatar for pzuurveen
0
184
Member Avatar for sidra 100

hi m write a program to get the values from the form and storing them in database but its giving me error of undefined index for all variables . my code is [CODE]<?php session_start(); $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); $name=($_POST['name']); $type=($_POST['type']); $color=($_POST['color']); $unit_price=($_POST['price']); $size=($_POST['size']); $id=($_POST['id']); $query="INSERT INTO product (product_id, product_name, type, color, unit_price, …

Member Avatar for pritaeas
0
113
Member Avatar for sidra 100

hi i am writing a program which take the value from form and then execute a error "failed" each time. which means there is some error in my query but i cant find the problem. here is the code [CODE]<?php session_start(); //print_r($_POST); $name=$_SESSION['SESS_CUSTOMER_ID']; $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); $product_id=$_POST['P_list']; echo "$product_id"; $quantity=$_POST['quantity']; $query= …

Member Avatar for pritaeas
0
140
Member Avatar for sidra 100

hi m making a program n i want that when i want to add update a stock it get the name of product from data base and show it in drop down list so that i can select one of them which i want to update. my code for that …

Member Avatar for sidra 100
0
179
Member Avatar for sidra 100

hi i m a beginner. m student of mcs n making a project. its about a brush manufacturing company. i have GUI of my software. and also database of it. but don't have any idea what to do next? can any1 guide me please. i m using wamp server.

Member Avatar for sidra 100
0
109
Member Avatar for sidra 100

hey can any1 tel me the eror in my code part of code where problem lies is [CODE] if($result) { if (mysql_num_rows($result)==1) { session_regenerate_id(); $employee = mysql_fetch_assoc($result); $_SESSION['SESS_EMP_ID'] = $employee['employee_id']; $_SESSION['SESS_NAME'] = $employee['employee_name']; $_SESSION['SESS__dept']=$employee['department_id']; $_SESSION['SESS_rank']=$employee['rank']; session_write_close(); if ($_SESSION['SESS_rank']==$employee.rank("admin") { header("location: administrator.php"); exit(); } elseif($_SESSION['rank']==$employee.rank("shift incharge") { header ("location: Shift_incharge.php"); exit(); …

Member Avatar for sidra 100
0
66
Member Avatar for sidra 100

hi i have made a html page in which i have a drop down list whose code is [CODE]<p>Please select the product you want to add <label> <select name="menu1" onchange="MM_jumpMenu('parent',this,0)"> <option>Nylon Blisters</option> <option>PP plastic</option> </select> </label> </p>[/CODE] Now my main aim is that when a certain product is added and …

Member Avatar for sidra 100
0
97
Member Avatar for sidra 100

hi i want to make a page for the user to take the orders from the user. i want that user select one product from the drop down list then select its size and then color. then submit it. this data about first product appears in the table then he …

Member Avatar for sidra 100
0
229
Member Avatar for sidra 100

can any1 tell me wats wrong in my code i cannt change my password using this code [CODE]<?php $con=mysql_connect("localhost","root",""); mysql_select_db("pras2"); if (!$con) { die('Could not connect: ' . mysql_error()); } $username = $_POST['username']; $password = $_POST['password']; $newpassword = $_POST['newpassword']; $confirmnewpassword = $_POST['confirmnewpassword']; $result = mysql_query("SELECT password FROM customer WHERE username='$username'"); …

Member Avatar for mikulucky
0
100
Member Avatar for afrogfx

check this code for email validtion. it works. [CODE] function valid_domain_part($domain_part) { if(preg_match("/[^a-zA-Z0-9@#\[\].]/", $domain_part)) { return false; } elseif(preg_match("/[@]/", $domain_part) && preg_match("/[#]/", $domain_part)) { return false; } elseif(preg_match("/[\[]/", $domain_part) || preg_match("/[\]]/", $domain_part)) { $dot_pos = strrpos($domain_part, "."); if(($dot_pos < strrpos($domain_part, "]")) || (strrpos($domain_part, "]") < strrpos($domain_part, "["))) { return true; …

Member Avatar for sidra 100
0
147
Member Avatar for sidra 100

hey m making a project n m stuck n a problem. there are different employees that can login. i have employee table in database but am confused that how can i assign each employye the url that which page page will open when a certain employee logs in.

Member Avatar for mikulucky
-1
124
Member Avatar for sidra 100

i want to increase the size of the column [CODE]ALTER TABLE employee ALTER COLUMN department_name VARCHAR(50)[/CODE]

Member Avatar for pritaeas
0
86
Member Avatar for sidra 100

hey m making a projec in one of its page i want to get the data from the table and display it on screen in the form of table. allthough the data appears but how can i display the headings. [CODE] $num=mysql_num_rows($result); print "<table width=600 border=1>\n"; while ($get_info = mysql_fetch_row($result)) …

Member Avatar for pritaeas
0
92
Member Avatar for sidra 100

hey can i transfer pictures through sockets through php? how can i do it if its posible.i want to send n receive pictures

Member Avatar for mikulucky
0
70
Member Avatar for sidra 100

hi m making aregisteration form for employees. n validate its some very basic field. but the problem is that if i enter wrong it shows me the error and says click here to refill as told by me but when i enter the correct data even then it shows click …

Member Avatar for sidra 100
0
224
Member Avatar for sidra 100

hey. can i transfer pictures through sockets using c++? how can i do it if its posible.

Member Avatar for pseudorandom21
0
160
Member Avatar for sidra 100

hi m trying to make a login page. m trying that when username and password is confirmed it shows name of customer with welcome message and further page appears accordingly. this is my code for login GUI [CODE]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <!-- DW6 --> …

Member Avatar for sidra 100
0
264
Member Avatar for sidra 100

hi m trying to make a registeration form. i have made it and trying to validate it. m new comer so dont have much knowlege so having problems in validating form. i have three files one is registeration form. other is geting value from form and storing it in database …

Member Avatar for Zagal
0
169
Member Avatar for sidra 100

i m making a BMI calculator GUI which calcuates weight in corresponding to height shown on slider but there is some error in program. problem lies in following line [CODE] int value = slider.getValue(); int weight=0; if (if buttonGroup.getSelected()=="Male") { weight=value/28; } else if (buttonGroup.getSelected()==Female) { weight=value/30; } System.out.println("weight");[/CODE]

Member Avatar for javaNooblet
0
97
Member Avatar for sidra 100

hey i have written this code to make a GUI but it compile correctly but gives error at run time. the error is exception in thread main "java.lang.NullpointerException" at GUI.intGUI(GUI.java:22) at GUI.(init)(GUI.java :75) at GUI.main (GUI.java:79) the code is [CODE]import java.awt.*; import javax.swing.*; import java.awt.event.*; public class GUI { JFrame …

Member Avatar for peter_budo
0
223
Member Avatar for sidra 100

i have jst started programing in java m beginer. m making gui which contains a two radio button a slider and a text message. although its compiling coreectly but it doesnot display any thing [CODE]import java.awt.*; import javax.swing.*; import java.awt.event.*; public class GUI { JFrame frame; JLabel coord; JRadioButton Man=new …

Member Avatar for hfx642
0
128
Member Avatar for sidra 100

i m a begginer m making a GUI which consist of a slider and 2 radio button and a text message. i have not added the functionality in it yet. but its not displaying GUI it completes successfuly but at runing time it gives error Exception in thread "main" java.lang.IllegalArgumentException: …

Member Avatar for NormR1
0
94
Member Avatar for sidra 100

hi m going to develop a web application for a brush manufacturing factory.m in design phase now. but as i m a beginner i dont have much knowlege about language to be used in that. can any one help me which language should i learn . php or java??

Member Avatar for Zahinize
0
115
Member Avatar for sidra 100

hi i have made a program to find average and standard deviation. n it read input from other. rest of things are fine plz guide me my output for Standard deiation sD comes NaN. i have searched alot bt couldnot find solution my code is [CODE]import java.io.*; import java.util.*; public …

Member Avatar for Taywin
0
169
Member Avatar for sidra 100

m a begineer of java programing plz tel me wats wrong in my program. [CODE]// my first program public class HelloWorld { public static void main(String[] args) { System.out.printIn("Hello World"); } }[/CODE] it shows the error cannot find symbol. symbol:method PrintIn(java.lang.string) location: class java.io.printstream system.out.printIn("helloWorld") 1 error

Member Avatar for vijaykavin10
0
98
Member Avatar for sidra 100

hi i m bachelor student i want to know about different methodologies used to develop certain software. i know little about waterflow process model, spiral process model, V process model. i know the name of object oriented model bt dont have any knowlegde about that. i m trying to develop …

Member Avatar for Rashakil Fol
0
351
Member Avatar for sidra 100

plz can any1 chk my program for errors[CODE]public class MinHeap{ private int size=100; private int list[]=new int[size]; private int currentSize=0; public boolean isFull(){ if(currentSize==size) return true; return false; } public boolean isEmpty(){ if(currentSize==0) return true; return false; } public void insert(int val){ int current,parent,temp; if(isFull()) System.out.println("Heap is full"); else{ list[++currentSize]=val; …

Member Avatar for ravenous
-6
116
Member Avatar for sidra 100

plz help me in my algorithm to first enter data in array then making a min heap out of it [CODE]#include <iostream> #include <stdlib> using namespace std; class Heap { int currentsize; int *array; int capacity; void heapsort(int[],int); public: void buildheap(); void isempty(); void isfull(); int getsize(); } main() { …

Member Avatar for Duki
-1
117
Member Avatar for sidra 100

what r sum applications of very common microprocessors and microcontrollers that uses assembly language as its basic or core language

Member Avatar for coolshiva
0
74
Member Avatar for sidra 100
Member Avatar for Salem
-1
59
Member Avatar for sidra 100

plz chk my code to do currency conversion # include <iostream.h> # include <conio.h> main () { cout<<"Wellcome To VU Money changer"; cout<<"\n"; // data type initillizing char con,coninto,op; float amount; do { //discription print message on consol what program contains cout<<"Please select currencies that you want to Exchange :"<<endl; …

Member Avatar for mrnutty
0
91
Member Avatar for sidra 100

plz chk[CODE]#include <iostream> using namespace std; main() { int a; int b; cin >>a; cin >>b; int i; for(i=1; int<=b;i=i+1) { cout <<a<<"*"<<i<<"="<<a*i; } } [/CODE]

Member Avatar for Grn Xtrm
-4
77
Member Avatar for sidra 100

“Although for consistent and reusable design we follow Object Oriented paradigms; “structured approach” has still its worth in some imperative and critical applications. Support or contradict this statement with solid arguments.

Member Avatar for sidra 100
-4
76
Member Avatar for sidra 100

plz chk my code i m having error at line 35 and 36[CODE]#include <iostream> #include <cstring> using namespace std; class strng { char s[30]; public: strng() { strcpy(s,""); } string getstring() { cout<<"enter the sting:"; cin>>s; return s; } void displaystring() { cout <<"the string is:"<<s<<endl; } const strng &operator+= …

Member Avatar for tkud
0
113
Member Avatar for sidra 100

plz guide me i m having some error at line 28[CODE]#include <iostream> using namespace std; class str { char s[30]; public: str() { strcpy(s,""); } string getstring() { cout<<"enter the sting:"; cin>>s; return s; } void displaystring() { cout <<"the string is:"<<s<<endl; } string operator+= (string &t) { strcat(s,s.t); return …

Member Avatar for dusktreader
0
130
Member Avatar for sidra 100

plz chk i want to overload compound assignment operator bt its gving me some error[CODE]#include <iostream> using namespace std; class strng { char s[30]; public: strng() { strcpy(s,""); } void getstring() { cout<<"enter the sting:"; cin>>s; } void displaystring() { cout <<"the string is:"<<s<<endl; } string operator +=(string &t); }; …

Member Avatar for sidra 100
0
123
Member Avatar for sidra 100

Although for consistent and reusable design we follow Object Oriented paradigms; “structured approach” has still its worth in some imperative and critical application. wat do u people say about this

Member Avatar for jonsca
0
94
Member Avatar for sidra 100

plz chk my code its giving error at line 45,49.also does it satisfies the requirement Problem Statement: Suppose we have a class named as Train it has two constructors, two methods, and a single attribute each of which described as follows:· One attribute:maxSpeed – an int value representing the maximum …

Member Avatar for sidra 100
0
125
Member Avatar for sidra 100

please chk my code. it works well but is its logic correct? Statement: Suppose we have a class named as Train it has two constructors, two methods, and a single attribute each of which described as follows:· One attribute:maxSpeed – an int value representing the maximum speed of the Train …

Member Avatar for iamthwee
-1
85
Member Avatar for ishaiman
Member Avatar for sidra 100
Member Avatar for zortec
0
141

The End.