191 Posted Topics

Member Avatar for smitha_aa

hai **smitha_aa**, i am not aware of c# or .net but the following links may helps you http://www.primaryobjects.com/cms/article79.aspx http://social.msdn.microsoft.com/Forums/en/sqlsmoanddmo/thread/daf5361f-5633-48a8-bd94-7a39a95f72b5 http://stackoverflow.com/questions/11102358/how-to-pass-an-array-into-a-sql-server-stored-procedure happy coding

Member Avatar for ChrisHunter
0
185
Member Avatar for michelleruth

**suggestions:** **before storing a random number into the given array we have to consider 2 things** 1. whether array contains desired number of random numbers or not (to print the final array elements) 2. whether the generated random number is existed in the array previously or not if we achieve …

Member Avatar for radhakrishna.p
0
24K
Member Avatar for sobias

place that script code file before the end of **</body>** tag i think it may work pls check it once and let me know the status happy coding

Member Avatar for sobias
0
180
Member Avatar for Petranilla

can you please explain the **requirement clearly**? so that we are here to help you

Member Avatar for softswing
0
109
Member Avatar for pri.chakraborty

we can achieve this by using **AttributedString** class which is available in **java.text.*;** package the following url's may help you for this http://www.java2s.com/Code/JavaAPI/java.text/TextAttributeSUPERSCRIPT.htm http://www.daniweb.com/software-development/java/threads/186751/printing-powers-in-java please check it once

Member Avatar for radhakrishna.p
0
4K
Member Avatar for vishalonne

please also check the value of **$result** by echoing it because for loop execution is based on this value if the vaue of the **$result** variable is '0' then there is nothing to display so please check & echo the value of **$result** variable also happy coding

Member Avatar for vishalonne
0
116
Member Avatar for Kavya_1

**.js** is the extension of java script file (if you want to place the script code in a seperate file) and bellow is the place where you want to place your script code with in a web page <script type="text/javascript"> // your script code </script> (or) <script type="text/javascript" src="path_to_external_javascript_file.js"> // …

Member Avatar for James_Smith
0
125
Member Avatar for noorjan

steps for setting image for Label: 1. create a image file as follows File image = new File("D:\\mysample.jpg"); 2. i think you know how to read image data from database.once you get the resultset object do as follows i mean store image column data into above file // after getting …

Member Avatar for radhakrishna.p
0
153
Member Avatar for mehar89

you misssed sigle quotation mark where i showed BOLD letters in your code (at + sign before input tag started at the end) $('#left_bar .cart-info').append('<div>'+localStorage["myid"] = document.getElementById("myid").value =parseInt(localStorage["myid"] || "0", 10) + 1;**'+'**<input id="myid" type="text" name="itemquantity[]" value="1"/></div>'); let me know the status after updating the code

Member Avatar for stbuchok
0
136
Member Avatar for adikimicky

i think mostly type-4 driver is best to use for connecting to databse **go through the following post (explains everything)** http://www.daniweb.com/software-development/java/threads/352336/java-connection-with-oracle-10g-express

Member Avatar for adikimicky
0
197
Member Avatar for eiramana06

i think **13** i dont know in which aspect you are asking but its **13**

Member Avatar for diafol
0
2K
Member Avatar for anony

AJAX programing is best solution for this kind of requirements go thru the following link it may helps you http://www.w3schools.com/php/php_ajax_database.asp http://www.w3schools.com/ajax/ajax_database.asp let me know if you have any doubts in my clarification

Member Avatar for AARTI SHRIVAS
0
148
Member Avatar for code_rum

please specify the problem clearly i could find the variable name '**title**' at php file,ajax and html too where you are getting from? **at line 7** how you get the value of **title**? that might be the problem i think happy coding

Member Avatar for radhakrishna.p
0
405
Member Avatar for adikimicky

pls **post here any error messages** if you got or explain your problem briefly so that we are here to help you **how could we understand the else part the program is running?**

Member Avatar for radhakrishna.p
0
283
Member Avatar for bhadra.anurag

**hai all and bhadra.anurag**, check at **line no 27** also for(int h=0;h<=0;h++){ is this correct assignment value for variable **'h'**? (assigning zero and comparing with zero) please check it once (in case if you dont get answer) happy coding

Member Avatar for stultuske
0
703
Member Avatar for chaitanya_krish

just pass the method name to the page where your processing is done based on the method name you may call the appropriate method as follows **for example:** the following are the methods to execute (think this would be servelet or jsp whatever you want ) method_name = request.getParameter("metod_to_execute"); if(method_name.equalIgnoreCase("add")){ …

Member Avatar for stultuske
0
215
Member Avatar for DarkVision

i understood what you are looking for i.e you need a form which sends and receives a data using socket programing is this right? we can do this thing by using **Socket** class (for sending data) and **ServerSocket** class (for receiving data) but i have some doubts in your post …

Member Avatar for radhakrishna.p
0
114
Member Avatar for lukas.vandendijssel

why don't you try like this (replace your php code with bellow code it works perfectly) <?php echo('This is visible, all stuff below is not. So the closing tags are not visible too.'); ?> <embed src="flash/<? echo rand(1, 5);?>.swf" type="application/x-shockwave-flash" width="320" height="240"></embed> <? // remaining your code ?>

Member Avatar for bradly.spicer
0
316
Member Avatar for toomutch

hai **toomutch**, could you tell me the reason for storing the total path of the selected file into database?

Member Avatar for toomutch
0
333
Member Avatar for techyworld

**try like this, it may help you for your requirement** **steps :** 1 . store your numbers and operators in an array like as var my_array = [1,2,3,.....] 2 . generate a random number between zero and the array length var min =0 ,max = my_array.length // length of the …

Member Avatar for radhakrishna.p
0
109
Member Avatar for Ritesh_4

we can add background color to div by using **style** property of div tag as shown bellow <div id="your_id_value" style="background-color: grey"> // you may give color name directly or its rgb value like (#FFCCEE) </div> based on your condition you may add style property for the particular **div** tag thats …

Member Avatar for Ritesh_4
0
268
Member Avatar for eric.i.perez

**guidelines to write a program for your 2 question:** 1. take an interger array with size 10 or number whatever you want 2. i think you know how to read input values so then store those values into that array 3. iterate through the array elements one by one by …

Member Avatar for NathanOliver
0
145
Member Avatar for Violet_82

hai **Violet_82** do as **bguild** said in his post it will solve your problem i tried it and got the solution and make this thread solved if you get your answer happy coding

Member Avatar for Violet_82
0
4K
Member Avatar for techyworld

yeah i think you have created table without applying any styles so that eventhough it is created thats not visible to us apply some styles to table and add it to the div firstly then start creating the rows and columns as follows replcae with this modified code in to …

Member Avatar for techyworld
0
477
Member Avatar for deadsolo

let me know is it nessasary to use **regular expression** concept to get your actual output? may i suggest any alternate solution to your requirement? isn't it good to use **split()** for this requirement?

Member Avatar for deadsolo
0
299
Member Avatar for vishalonne

try with this $number = 41; printf("%04d\n", $number); **printf()** in php, follows some internally implemented rules for formating the numbers based on the given expression in the left side of the statemnt as shown above please see manual for more details about this method let me know the status happy …

Member Avatar for diafol
0
182
Member Avatar for GlenRogers

i think query might be the problem there $query="SELECT post,link from pagination ORDER BY id DESC LIMIY $pageLimit,".PAGE_PER_NO; can you check the query once by manually at phpmysqladmin sql prompt? (what i mean is copy the query here and paste and run at sql prompt) let me know the OP?

Member Avatar for diafol
0
162
Member Avatar for brenton_77

**at line 15** you are creating a new array for each and every record thats giving the invalid output to you move that declarion out side of the while loop and make changes as follows $my_array = array(); $rec_count =0; while (!$result->EOF) { $fz = $result->Fields("PersonNameFirst"); $my_array[$rec_count] = $fz->value ; …

Member Avatar for brenton_77
0
334
Member Avatar for erms

**try the bellow code for your requirement** try { capture = new Robot().createScreenCapture(screenRect); ImageIO.write(capture, mode, new File( uploadPath, filename)); // this makes 2 sec sleep Thread.currentThread.sleep(2000); // here 2000 means 2 sec } }catch(Exception e){ // your remaining code }

Member Avatar for erms
0
4K
Member Avatar for lakshmi_suchi

can you explain the requirement clearly? so that we are here to give some idea on your requirement ?

Member Avatar for JorgeM
0
219
Member Avatar for yup790

hai **yup790** i couldnt understand properly can you explain what your requirement is ? so that we will hep you

Member Avatar for yup790
0
388
Member Avatar for somaye.s

suggegtion only : **PixelGrabber** is also another class where we can get image data in a pixel by pixel manner

Member Avatar for radhakrishna.p
0
112
Member Avatar for davy_yg

place the following code after **line 16** echo "<option value='".$row['po']."'>".$row['name']."</option>"; as **arti18 said** i dont know what your are going to place into your combobox if you go like that then your database values will be plcaed into the combox let me know if this is your answer or not …

Member Avatar for radhakrishna.p
0
244
Member Avatar for syria718

make (or) store your boolean variable value into an php array as follows $out_val = array("result"=>'your value here'); echo json_encode($out_val); and read this value in your script code by using Json.parse() as follows success:function(e){ var actual = JSON.parse(e); alert(actual.result) } check it once by making changes in your php file …

Member Avatar for radhakrishna.p
0
225
Member Avatar for jasonmark238

i think , its nothing but grouping related elements in a form (or) a page if you want some mote information about fieldset element please go through the bellow URL http://help.dottoro.com/ljmubtsb.php (it also contains related examples also) happy coding

Member Avatar for radhakrishna.p
-1
80
Member Avatar for LegendX

As **bguild** said take one more variable for sum_of_all_elements and add all columns values of each row to this variable (in side for loop) like as **total** variable what i mean is **sum_of_all_elements += nums[r][c]** thats it

Member Avatar for JamesCherrill
0
193
Member Avatar for subrata_ushasi

place this logic in findCusomer.php <tr> <td>List of customers of each partner from partner list</td> </tr> <tr> <td>Dealer Code</td> <td> </td> <td>Country</td> <td> </td> <td>Dealer</td> <td> </td> <td>Discount (%)</td> <td> </td> <td>Currency</td> <td> </td> <td>Customer list</td> <td> </td> </tr> <tr> <td>-------------</td> <td> </td> <td>-------------</td> <td> </td> <td>-------------</td> <td> </td> <td>-------------</td> …

Member Avatar for subrata_ushasi
0
218
Member Avatar for bangla

you have done perfectly to place random number into textbox i dont know why you are asking this question. could you tell me the reason?

Member Avatar for rotten69
0
218
Member Avatar for neha05
Member Avatar for kishoresai438

in php , i think use **array_unique()** method which returns unique entries of the given array and then you will get the index values of those unique entries by using **array_keys()** method and finally you have to display the remaining indexes for your second requirement check it once and let …

Member Avatar for R0bb0b
0
88
Member Avatar for Proglearner

use **Math.abs()** instead of **abs()** because there is no default **abs()** method in js

Member Avatar for Proglearner
0
127
Member Avatar for bradly.spicer

i think its a bad idea to store no.of results in a seperate column. why because it has to modify seperately each and every customer is added to database as well as remove from the database.internally it increases no.of operation on a table can you tell me the reason for …

Member Avatar for bradly.spicer
0
206
Member Avatar for VenusCrystal

i have a solution like as follows 1. make your results(list1_values,list2_values ) which are coming from **myfirst.php** as follows i mean append those two list options values any of the sign like "$" (or) "," like any other charecter as follows in **myfirst.php** results = list1_values."&".list2_values; echo results; 2. spilt …

Member Avatar for diafol
0
2K
Member Avatar for Nathaniel10

try the bellow url (for adding new row to the table and remove code for check box creation in that) http://viralpatel.net/blogs/dynamically-add-remove-rows-in-html-table-using-javascript/ it gives the simple solution to your problem . (there is no need of adding new row to <tbody> and <tbody> to <table> and <table> to <body> ) and …

Member Avatar for Nathaniel10
0
129
Member Avatar for utkarshsahu

i think you have to use pos.getX(),pos.getY() methods for the where it is located (or) pos.getLocation() check it once for your desired outout and let me know the status after changing your code

Member Avatar for tux4life
0
207
Member Avatar for daniel36

go through the following URl http://www.9lessons.info/2011/07/send-mail-using-smtp-and-php.html

Member Avatar for daniel36
0
111
Member Avatar for mukororokudo

replace the following statement (at line no 21 in **BufferedReader** version ) StringTokenizer tokens = new StringTokenizer(data,"!.,", true); with the bellow statement in BufferedReader version StringTokenizer tokens = new StringTokenizer(data); juct check it once (the only difference is in **BufferedReader** version you have passed some delimiters to parse the input …

Member Avatar for JamesCherrill
0
230
Member Avatar for Viped
Member Avatar for jalpesh_007
0
250
Member Avatar for ClientAlive

i think this would be the one of use case to you requirement [Click Here](http://yuml.me/diagram/scruffy/usecase/[Player%202]-(Start%20Game),%20[Player%201]-(Start%20Game),(Start%20Game)-(Show%20Results),(Start%20Game)-(Throw%20Coin),(Start%20Game)-(Select%20Option)) and let me know the status of my answer

Member Avatar for ClientAlive
0
356
Member Avatar for jacob.tonna.58
Member Avatar for simplypixie
0
391

The End.