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
~10.5K People Reached
Favorite Tags
php x 66
c++ x 53
java x 14
mysql x 11
list x 3
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
209
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
107
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
85
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
169
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
109
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
142
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
88
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
120
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
121
Member Avatar for asisani123

Parse error: syntax error, unexpected T_IF in C:\Program Files (x86)\EasyPHP-5.3.8.1\www\test\fuction\register.php on line 3 I get this error at my register page [CODE]<?php include('conn.php') do($_POST['register']); <form action="register.php" method="post" { $username=$_POST['username']; $password=$_POST['password']; $password2=$_POST['password2']; $date_now=date('Y-m-d'); if($password==$password2 ){ $query = "SELECT * FROM Member Where ID='$UID'"; $result_ = mssql_query($query); $numRows = mssql_num_rows($result_); if($numRows==0){ $sql="dbo.up_CreateMemberAccount …

Member Avatar for pzuurveen
0
172
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
111
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
135
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
164
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
107
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
62
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
96
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
217
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
99
Member Avatar for afrogfx

[B]Form.php[/B] [CODE] <form autocomplete="off" enctype="multipart/form-data" method="post" name="form"> <p></p> <div class="form-elements-malling"> <label for="fullnamemalling">Name<br /></label> <input type="text" name="fullnamemalling" id="fullnamemalling"/> <span></span> </div> <p>&nbsp;</p> <div class="form-elements-malling"> <label for="emailmalling">Email<br /></label> <input type="text" name="emailmalling" id="emailmalling"/> <span></span> <input type="submit" value="Submit" style=" background:#0060a1; color:#FFFFFF; font-size:14px; border:0; " class="submit"/> <span class="error1" style="display:none"> Please Enter Valid Data</span> <span class="success" style="display:none"> …

Member Avatar for sidra 100
0
146
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
123
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
84
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
87
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
67
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
206
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
157
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
257
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
165
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
94
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
220
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
124