Posts
 
Reputation
Joined
Last Seen
Ranked #4K
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
22% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
4
Posts with Downvotes
4
Downvoting Members
3
3 Commented Posts
2 Endorsements
Ranked #621
~28.8K People Reached
Favorite Tags

59 Posted Topics

Member Avatar for Shodow

this is my modal button this is within the table that why i use echo $rows['id'] <a data-id="<?php echo $rows['id']; ?>" type="button" class="btn btn-success btn-lg btn-block" data-toggle="modal" data-target="#myModal">View Order</a> this is my modal body <?php include('../conn.php'); $id=$_GET['id']; $list_query=mysql_query("select * from db where id='$id'"); $rows=mysql_fetch_array($list_query); ?> <form class="form-horizontal orderitem" role="form"> <div …

Member Avatar for mattster
0
5K
Member Avatar for Shodow

how to make this print fit to page my listview data doesn't fit in the page help please Private Sub PrintDetails(ByRef e As System.Drawing.Printing.PrintPageEventArgs) Static LastIndex As Integer = 0 Static CurrentPage As Integer = 0 'Getting the current dpi so the textleftpad 'will be the same on a different …

Member Avatar for oussama_1
0
365
Member Avatar for Shodow

how to avoid duplicate lvList DoubleClick() Dim line = lvList.SelectedIndices(item.Text) lvPrint.Items.Add(lvList.Items(line).Clone())

Member Avatar for G_Waddell
0
226
Member Avatar for Shodow
Member Avatar for hina_7
0
3K
Member Avatar for Shodow

help i with inno script i am finished with the prerequisite problem of framework my only problem is that after setup my sql files will be automatically imported

0
89
Member Avatar for Shodow

hi i have a code here that export my listview items to excel but i want to customize each cell size and i want to format the date and landscape environment Try Dim objExcel As New Excel.Application Dim bkWorkBook As Workbook Dim shWorkSheet As Worksheet Dim i As Integer Dim …

Member Avatar for G_Waddell
0
322
Member Avatar for Shodow

how to perform click on listview? when button is click listview will perform a click on first record of a listview

Member Avatar for Ancient Dragon
0
1K
Member Avatar for Shodow

how to select all item in listview? For i = 0 To lvList.Items.Count - 1 lvList.Items(i).Selected = True Next i PrintToolStripMenuItem.PerformClick()

Member Avatar for Reverend Jim
0
114
Member Avatar for Shodow
Member Avatar for Shodow

how to delete in lisview base on selected items help pls this is my sql code for delete Try If identifier = Nothing Then MessageBoxEx.EnableGlass = False MessageBoxEx.Show("Please Choose an Item to Delete", "Specialized Training", MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Exclamation) Else Select Case MessageBox.Show("Are you sure you want to delete?", "Specialized Training", MessageBoxButtons.YesNo, …

Member Avatar for Reverend Jim
0
285
Member Avatar for Shodow
Member Avatar for Shodow
Member Avatar for Shodow

how to execute two queries if isset like this but this code wont work if (isset($_POST['Add'])){ $tror=$_POST['tror']; $name=$_POST['name']; $product=$_POST['product']; $price=$_POST['price']; $deliver=$_POST['deliver']; $return=$_POST['return']; $custody=$_POST['custody']; $cash=$_POST['cash']; $charge=$_POST['charge']; $date=$_POST['date']; mysql_query("insert into delivery (TrOr,Customers_Name,Product,Price,Deliver,xReturn,Custody,Cash,Charge,Date) values('$tror','$name','$product','$price','$deliver','$return','$custody','$cash','$charge','$date') ; UPDATE inventory set Quantity='$_POST[cquantity]' WHERE Product='$_POST[product]'"); }

Member Avatar for cereal
0
146
Member Avatar for Shodow

how to trim a text and get the data after the colon(:) and eliminate space example: 5 Gallon Qty: 10 adn then on dropbox selected the the value of quantity textbox will be the trim part **10**

Member Avatar for urtrivedi
0
120
Member Avatar for Shodow

how to get the class value? <select name="product" onchange="Price(this)"> <option value="" disabled="disabled" selected="selected">Please select a product</option> <?php foreach ($product as $product) { ?> <option value="<?php echo $product['Product']?>" id="<?php echo $product['Price']?>"><?php echo $product['Product'] . " Qty: " . $product['Quantity']?></option> <?php } ?> </select>

Member Avatar for LastMitch
0
143
Member Avatar for Shodow

onchange i want this value to be executed how? or how to execute an query on dropbox change function quantity() { newValue = "<?php echo $product['Quantity']?>"; document.form.quantity.value = newValue; }

Member Avatar for LastMitch
0
102
Member Avatar for Shodow

at first the validation is working but when i added some design the validation is not working anymore help pls can you check my code <?php include('conn.php'); session_start(); if (!isset($_SESSION['Username'])){ header('location:index.php'); } // ?> <html> <head> <title>Delivery</title> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="shortcut icon" href="favicon.gif"> <script type="text/javascript" src="js/jquery.js"></script> <script …

Member Avatar for pritaeas
0
235
Member Avatar for Shodow

at the same time after adding i would like to update the inventory quantity quantity - deliver + return help pls <?php include('conn.php'); session_start(); if (!isset($_SESSION['Username'])){ header('location:index.php'); } // ?> <html> <head> <title>Delivery</title> <link rel="stylesheet" type="text/css" href="style.css" /> <link rel="shortcut icon" href="favicon.gif"> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.validate.js"></script> <script language="javascript" …

Member Avatar for pritaeas
0
235
Member Avatar for Shodow

Warning: Cannot modify header information - headers already sent by (output started at E:\xampp\htdocs\freeelec2\deliveryupdate.php:179) in E:\xampp\htdocs\freeelec2\deliveryupdate.php on line 222 <?php include('conn.php'); session_start(); if (!isset($_SESSION['Username'])){ header('location:index.php'); } // $tror=$_GET['tror']; ?> <html> <head> <title>Delivery Update</title> <script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript" src="js/jquery.validate.js"></script> <script language="javascript" src="js/cal2.js"></script> <script language="javascript" src="js/cal_conf2.js"></script> <script type="text/javascript"> function Price(data) { …

Member Avatar for Shodow
0
579
Member Avatar for Shodow

on dropdown change i would like to put the price on the textbox "price" base on the selected value in dropdown function Price(data) { document.getElementById ("productprice").value = data.value; } <select name="product" onchange="Price(this)"> <option value="" disabled="disabled" selected="selected">Please select a product</option> <?php foreach ($product as $product) { ?> <option value="<?php echo $product['Product']?>" …

Member Avatar for Echo89
0
196
Member Avatar for Shodow
Member Avatar for Shodow

how to make this "if the checkbox is checked add total + 10000 if uncheck none" because in this situation everytime i check or uncheck the checkbox it adds 10000 function AmmenitiesCALC(value){ newValue = parseInt(value); document.formcheck.Total.value = newValue; Total+=newValue; document.formcheck.Total.value = Total; } <tr> <th>AMMENITIES INCLUDED </th><td><input type="checkbox" name="Ammenities" value='10000' …

Member Avatar for DavidB
0
147
Member Avatar for Shodow

how to add the sum of them all <script type="text/javascript"> function AddGuestCALC(){ newValue = (parseInt(document.formcheck.Price.value) * parseInt(document.formcheck.Guest.value)); document.formcheck.AddGuestTOTAL.value = newValue; } function MenuChange(){ newValue = parseInt(document.formcheck.Menu.value.asInt); document.formcheck.Price.value = newValue; } function LechonCALC(){ newValue = parseInt(document.formcheck.Lechon.value) * 6500; document.formcheck.LechonTOTAL.value = newValue; } function AmmenitiesCALC(){ newValue = parseInt(document.formcheck.Total.value) + 10000; document.formcheck.Total.value = …

Member Avatar for Shodow
0
187
Member Avatar for Shodow

whenever i click on a radio button the value that comes out is NaN how to make it an integer function MenuChange(){ newValue = parseInt(document.formcheck.Menu.value.asInt); document.formcheck.Price.value = newValue; } <tr> <th>Menu </th><td>270/Head <input type="radio" name="Menu" onChange="MenuChange()" value='270'></td> <td> </td> <td>300/Head <input type="radio" name="Menu" onChange="MenuChange()" value='300'></td><td> </td> </tr>

Member Avatar for Shodow
0
2K
Member Avatar for Shodow

so here it is, first you will input how many textfield you have then click ok after clicking ok input the value in all the textfield after that if you click add you will see the sum of all the value in the textfield help pls <html> <head> <title>Margz</title> </head> …

Member Avatar for Shodow
0
93
Member Avatar for Shodow

how to do this right Select DATE_FORMAT(EventDate, '%b %d, %Y') from details Order by STR_TO_DATE(EventDate, '%d-%m-%y') Oct 24, 2012 Oct 27, 2012 Oct 28, 2012 Oct 20, 2012 Dec 22, 2012 Jan 11, 2013 Jan 19, 2013 Nov 24, 2012 Dec 29, 2012

Member Avatar for dcdruck
0
143
Member Avatar for Shodow

Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home/a1039476/public_html/getdetails.php on line 69 help <form action="getdetails.php" method="post"> Search Within: <select name="searchtype"> <option value="CustomerID">Customer ID</option> <option value="CustomerName">Customer Name</option> </select> Search Record: <input name="searchterm" type=”"text" size="20"/> <input type="submit" name="submit" value="Search"/> </form> <?PHP echo "<title> *********** </title>"; $searchtype=$_POST['searchtype']; $searchterm=trim($_POST['searchterm']); if …

Member Avatar for pritaeas
0
253
Member Avatar for Shodow

onload mysql 'query' will be executed then if the visitor will hit search the mysql 'querysearch' will be executed how to do that? <form action="default.php" method="post"> Search Within: <select name="searchtype"> <option value="CustomerID">Customer ID</option> <option value="CustomerName">Customer Name</option> </select> Search Record: <input name="searchterm" type=”"text" size="20"/> <input type="submit" name="submit" value="Search"/> </form> $searchtype=$_POST['searchtype']; $searchterm=trim($_POST['searchterm']); …

Member Avatar for LastMitch
0
215
Member Avatar for Shodow

Is this possible? Insert Into Customer(CustomerID, CustomerName) Values('6','test') on DUPLICATE key Update CustomerID='Select Max(customerID)+1 from Customer'

Member Avatar for adam_k
0
53
Member Avatar for Shodow

how can i change the value of data in crystal report base on the selected item in listview? i am using mysql and visual studio 2012

Member Avatar for Shodow
0
911
Member Avatar for Shodow

![wqe](/attachments/small/3/wqe.jpg "align-left") Select CustomerID,SalesID,CustomerName,Num_Of_Bottles,Price,Status from sales,customer where Date = DATE_FORMAT(NOW(),'%b %d, %Y') and CustomerID>0 Order by SalesID DESC

Member Avatar for pritaeas
0
242
Member Avatar for Shodow

i am making a booking system and i am thinking how am i suppose to know if there is a conflicting time.. i want to add an Error message if the time is conflicting in other event help me please Example: Date Time Start Time End DEBUT September 18 5:00 …

Member Avatar for G_Waddell
0
222
Member Avatar for Shodow

why is it sometimes i get an error? it doesn't highlight the error [B]CODE[/B] [CODE]Dim SqlQuery As String = "Select UserName from Login" Dim SqlAdapter As New MySqlDataAdapter Dim SqlCommand As New MySqlCommand Dim Ds As New DataSet Dim i As Integer With SqlCommand .CommandText = SqlQuery .Connection = sConnect …

Member Avatar for Shodow
0
544
Member Avatar for Shodow
Member Avatar for Shodow
Member Avatar for Shodow

Now, from another MDI Child, the user selects a button which opens a window allowing them to add a new record to the system, this is simply a form and a add button... when the add button is clicked, a message box informs them that the new record is added. …

Member Avatar for Oxiegen
0
593
Member Avatar for Shodow
Member Avatar for Shodow

example i will enter timein: 1:30 timeout: 5:00 how to know their time difference?in timeformat or how to accept a timeformat input from the user

Member Avatar for DavidKroukamp
0
122
Member Avatar for Shodow
Member Avatar for Reverend Jim
-1
290
Member Avatar for Shodow

[CODE]Imports MySql.Data.MySqlClient Imports System.Data.SqlClient Module connection Public conn As MySqlConnection Public Sub xconnect() conn = New MySqlConnection conn.ConnectionString = "Server=localhost;User=root;Database=test;pwd=;" Try [U][B][COLOR="Red"]conn.Open()[/COLOR][/B][/U] MsgBox("Success") conn.Close() Catch ex As MySqlException MsgBox(ex.Message) Finally conn.Dispose() End Try End Sub End Module System.TypeInitializationException was unhandled Message="The type initializer for 'System.Transactions.Diagnostics.DiagnosticTrace' threw an exception." Source="System.Transactions" TypeName="System.Transactions.Diagnostics.DiagnosticTrace" …

0
308
Member Avatar for Shodow
Member Avatar for Shodow

here i have 2 listbox i already have the code for the selected item moving right and moving left but i don't know how to move all of the listbox1 to listbox2 by just click >> or listbox2 to listbox1 <<

Member Avatar for Shodow
0
173
Member Avatar for Shodow

help me update my database.. when i click edit it will add a new record.. i want to update a record.. to edit a new record it will be base on the cutsomer's nameu [CODE]Dim conn As ADODB.Connection Dim RS As New ADODB.Recordset Set conn = New ADODB.Connection conn.ConnectionString = …

Member Avatar for Shodow
0
2K
Member Avatar for Shodow

help how to count the remaining letters from the similar.. Example.. carl, 2 barbie, 4 [CODE]#include<iostream.h> #include<string.h> #include<conio.h> #include<stdio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); printf("Enter Boy's Name: "); gets(boy); fflush(stdin); printf("Enter Girl's Name: "); gets(girl); fflush(stdin); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); …

Member Avatar for Tess James
0
119
Member Avatar for Shodow

can u help me convert the cout to printf..i dont have a clue how.. tnx [CODE]#include<iostream.h> #include<string.h> #include<conio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); cout<<"Enter Boy's Name: "; cin.getline(boy,50); cout<<"Enter Girl's Name: "; cin.getline(girl,50); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); total=similarInGirl+similarInBoy; cout<<"Boy: "<<similarInBoy<<","; …

Member Avatar for Narue
0
555
Member Avatar for Shodow

[B]BEFORE[/B] [IMG]http://www.daniweb.com/forums/attachment.php?attachmentid=22439&d=1317523788[/IMG] [CODE]#include<iostream.h> #include<string.h> #include<conio.h> int findSimilar(char[],char[]); void checkValue(int,int); int main(){ char boy[50]; char girl[50]; int similarInBoy=0; int similarInGirl=0; int total; clrscr(); cout<<"Enter Boy's Name: "; cin.getline(boy,50); cout<<"Enter Girl's Name: "; cin.getline(girl,50); similarInBoy=findSimilar(boy,girl); similarInGirl=findSimilar(girl,boy); total=similarInGirl+similarInBoy; cout<<"Boy: "<<similarInBoy<<","; checkValue(similarInBoy,1); cout<<"\n"; cout<<"Girl: "<<similarInGirl<<","; checkValue(similarInGirl,2); cout<<"\n"; cout<<"Total: "<<total<<","; checkValue(total,3); cout<<"\n"; getch(); return 0; …

0
65
Member Avatar for Shodow
Member Avatar for Shodow

[CODE]#include<stdio.h> #include<conio.h> main() { clrscr(); double sales[10]; int index; double largestsale,smallestsale,sum,average; //initializing for(index=0;index<5;index++) sales[index]=0.0; //reading printf("Enter Value:\n"); for(index=0;index<5;index++) scanf("%d",&sales[index]); //printing for(index=0;index<5;index++) if(sales[index]<index) printf("%2d",sales[index]); //sum & average sum=0; for(index=0;index<5;index++){ sum = sum+sales[index];} average = sum/5; printf("\nThe Sum is %d",sum); printf("\nThe Average is %d",average); //largestsale int maxIndex = 0; for(index=1;index<5;index++) if(sales[maxIndex] < …

Member Avatar for jonsca
0
151
Member Avatar for Shodow

invalid use of property [CODE] Dim search As String search = Trim(txtSearch.Text) Select Case cmbSearch Case "By: Customer Name": Call DataGrid("select * from list1 where CustomerName like '" & search & "%'") Case "By: Date": Call DataGrid("select * from list1 where Date like '" & search & "%'") Case "By: …

Member Avatar for AndreRet
0
221
Member Avatar for Shodow

The End.