Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 839 results for
cod
- Page 1
php cod for drapdown list
Programming
Web Development
13 Years Ago
by arsala211
how we select data from database in drapdowlist and then delete the date(thrugh php
cod
)
cod help
Programming
Software Development
17 Years Ago
by chrisfrolich
I was given an assignment where i have to calculate and aoutput the ocst of airline tickets for different classes (business class, coach class, first class). Output the price from different funtions. Here is what I have..... [code] int main () { double firstClass, coachClass, businessClass; cout<<"Enter the price of …
Re: cod help
Programming
Software Development
17 Years Ago
by Ancient Dragon
What is the problem ?
Re: cod help
Programming
Software Development
17 Years Ago
by Radical Edward
You are almost there. If you calculate the prices in main but print them in another function, you must first pass the prices as arguments to each function, or the function will not know what to print. Also remember that two entities cannot have the same name, so the prices and the functions will need different names if you want to reference them …
Re: cod help
Programming
Software Development
17 Years Ago
by Salem
I read the title, and thought it was someone looking for help with fishing, but instead found someone fishing for help ;)
Re: cod help
Programming
Software Development
17 Years Ago
by Radical Edward
Haha, that's a good one, Salem. :)
cod for uploading files
Programming
Web Development
13 Years Ago
by Daniel Liwonde
I am looking for a code(php or javascript) that can enable me to upload files to my site eg images and when i vist my site at that particular posted page i should see the image not a link but the thumb nail like what happens with gmail or face book. when I upload a file(text) i should see a link that can allow me either to view the file or …
Re: cod for uploading files
Programming
Web Development
13 Years Ago
by rajeevbu
<?php if ((($_FILES["file"]["type"] == "image/gif") || ($_FILES["file"]["type"] == "image/jpeg") || ($_FILES["file"]["type"] == "image/png") || ($_FILES["file"]["type"] == "image/pjpeg")) && ($…
Re: cod for uploading files
Programming
Web Development
13 Years Ago
by Daniel Liwonde
thanks for replying, I will try it and will come back to you if any need arises.
Re: cod for uploading files
Programming
Web Development
13 Years Ago
by leest35
There are hundreds of tutorials on the net on how to do this, perosnally i would rather use a tutorial than ask for the code, when you work through the tutorial you will know how and why it works, this helps you to modify it and to further develop it and solve any issues that may arise. Even though Daniel was nice enough to post some code for you…
Re: php cod for drapdown list
Programming
Web Development
13 Years Ago
by divyakrishnan
Code for generating drop down list as follows [CODE]<?php $sql="select eid,ename from emp"; $result = mysql_query($sql); echo "<select name="s">"; while($row = mysql_fetch_array($result)) { ?> <option value="<?php echo $row['eid']; ?>" > <?php echo $row['ename'];?> </…
Re: php cod for drapdown list
Programming
Web Development
13 Years Ago
by dw_user
Clarification necessary as to whether date is any column name in the mysql table.
Re: php cod for drapdown list
Programming
Web Development
13 Years Ago
by klemme
remember to close the select list: </select>
Help me out Please!!!!!!!!!!!!!!!!!!!!!!!!
Programming
9 Years Ago
by Sameer_6
…=fvfee; return y; } } void logistics(int city,int w,int
cod
,int log) { int l,choice1, choice2,logfee; switch(log) { case… {cerr<<"Wrong Choice!!"; exit(0)}; } switch(
cod
){ {case 1: logfee+=; break; case 2: logfee+=0; break; …
Failing to get the unique code from the file! Pls Help!
Programming
9 Years Ago
by Sameer_6
…;; exit(0);break; } } float logistics(int city,float w,int
cod
,int log) { //Expenditures ef; switch(log) { case 1: if…cerr<<"Wrong Choice!!"; exit(0);} */ if(
cod
==1){codfee=0;} else {codfee=0;} break; case 2: …
Program functions not working
Programming
9 Years Ago
by Sameer_6
… }return eb.fvfee; } float logistics(int city,float w,int
cod
,int log) { Expenditures ef; int choice1, choice2,logfee; float l…getch(); } int main() {clrscr(); float w,l,b,h; int
cod
,city,log,category,wb,sp; Expenditures ex; cout<<…
Tic Tac Toe difficulty
Programming
Software Development
16 Years Ago
by atom_1993
… String matrix[][]=new String [3][3]; static int
cod
; public static void matrix_initialization() { int i,j…)); System.out.print("Your Number : ");
cod
=Integer.parseInt(br.readLine()); } catch (Exception e)…
Get Dynamic value in phpexcel
Programming
Web Development
10 Years Ago
by ravi142
…street1'].' '.$order_row['suburb']; $customer_address = $order_row['suburb']; $
COD
= $order_row['
COD
']; $payment_method = $order_row['payment_method']; if($payment_method=="Split"…'){ //Customer pays by PayPal, so
COD
does not include 6% surcharge $
COD
= $
COD
/1.06; } $cash_from = $…
How to capture insert/delete in dropdownlist with multi datasources
Programming
Web Development
15 Years Ago
by aspgasket
…server" selectcommand="SELECT Date, CustomerName, CustomerNumber,
COD
, Pickup, Weightrange FROM HoldingDock" insertcommand="INSERT… SET Date=@Date, CustomerName=@CustomerName, CustomerNumber=@CustomerNumber,
COD
=@
COD
, Pickup=@Pickup, Weightrange=@Weightrange WHERE OrderID=@OrderID"…
Re: JTable delete row
Programming
Software Development
14 Years Ago
by Buffalo101
…){ this.enunt=enunt; } public void setcod(int
cod
){ this.
cod
=
cod
; } public void settip(int tip){ this.tip=…public clasaIntrebare(String Enunt, int Tip, int
Cod
, String Raspuns1, String Raspuns2, String Raspuns3){
cod
=
Cod
; // ID used=0; tip= Tip…
XPath "And" operator.
Programming
Software Development
13 Years Ago
by GabrielZiden
…lt;coordenadoria> <disciplina class="X"
cod
="AM123"> ...blablabla </disciplina>… <disciplina class="X"
cod
="AM123"> ...blablabla </disciplina> &…. I can choose a Discipline by its
Cod
, or its
Cod
+Class. using the following code, i can…
JTable delete row
Programming
Software Development
14 Years Ago
by Buffalo101
…(i).getenunt(); tip=listaIntrebari.get(i).gettip();;
cod
=listaIntrebari.get(i).getcod(); var1=listaIntrebari.get(i…1) corect=3; model1.addRow(new Object[]{enunt, tip,
cod
, var1, var2, var3, corect}); i++; } model1.…
Search BST without the indexed value...
Programming
Software Development
13 Years Ago
by Nexgr
…with the following code... [CODE]void BinarySearchTree::find(string
cod
, tree_node* tree, tree_node* target, tree_node* parent,…} else { if(tree->left) find(
cod
,tree->left,target,parent,found); if(tree-&…gt;right) find(
cod
,tree->right,target,parent,found); } }…
Re: Search BST without the indexed value...
Programming
Software Development
13 Years Ago
by Nexgr
…is this happen ? [CODE]void BinarySearchTree::find(string
cod
, tree_node* tree, tree_node*& target, tree_node*&… { [B] if(tree->left!=NULL) find(
cod
,tree->left,target,parent,found); //Executes[/B]… if(tree->right!=NULL) find(
cod
,tree->right,target,parent,found); //Not execute …
Trouble with a specific function
Programming
Web Development
13 Years Ago
by jakizak
…quot;picframe").src = "/frames/
cod
-liver-oil_pic.html"; document.getElementById("….getElementById("picframe").src = "/frames/
cod
-liver-oil_pic.html"; document.getElementById("blurbframe&…quot;).src = "/frames/
cod
-liver-oil_blurb.html"; } }; [/CODE] …
Register in course
Programming
Web Development
13 Years Ago
by PF2G
…ÇÃO: <br/> <?PHP $cc=$_GET['
cod
']; $sql_prog = "SELECT prog_curso FROM cursos WHERE cod_curso="…is_logged()) { ?> <form action="inscreve.php?
cod
=<?php echo $cc ?>" method="post…
Problem with cin and gets
Programming
Software Development
13 Years Ago
by isaacjun16
…<cmath> using namespace std; struct person { int
cod
; char name[40], cid[15]; }client[100]; main() …Enter code: "; cin>>client[c].
cod
; cout<<"Enter name: ";… the code of the client (client[c].
cod
) it skips right away to ask for the…
Re: XPath "And" operator.
Programming
Software Development
13 Years Ago
by dknochen
To select by class and
cod
attributes: [CODE]String path = "//coordenadoria/disciplina[@
cod
='"+disc+"' and @class='"+turma+"']";[/CODE]
ERROR OPENING A FILE IN c
Programming
Software Development
12 Years Ago
by xIXZeroIXx
… } printf("\n"); //
cod
=ir/1000; // dir=ir%1000;…division dir_datos=ir%1000; switch(
cod
)//esta correctamente evaluado { case …
AbstractTableModel
Programming
Software Development
10 Years Ago
by TonSingle
…BufferedReader(new FileReader(new File("UniVeiculo.txt")));
cod
=br.readLine(); while(
cod
!=null){ car.Marca=mark; car.Modelo=model; … carro.add(car); JTable tabela = new JTable(new ModeloTabela(carro));
cod
=br.readLine(); mark=br.readLine(); year=br.readLine();color=br…
1
2
3
14
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC