191 Posted Topics
Re: 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 | |
Re: **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 … | |
Re: 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 | |
Re: can you please explain the **requirement clearly**? so that we are here to help you | |
Re: 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 | |
Re: 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 | |
Re: **.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"> // … | |
Re: 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 … | |
Re: 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 ![]() | |
Re: 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 | |
Re: i think **13** i dont know in which aspect you are asking but its **13** ![]() | |
Re: 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 | |
Re: 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 | |
Re: 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?** | |
Re: **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 | |
Re: 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")){ … | |
Re: 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 … | |
Re: 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 ?> | |
Re: hai **toomutch**, could you tell me the reason for storing the total path of the selected file into database? | |
Re: **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 … | |
Re: 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 … | |
Re: **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 … | |
Re: 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 | |
Re: 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 … | |
Re: 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? | |
Re: 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 … ![]() | |
Re: 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? ![]() | |
Re: **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 ; … | |
Re: **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 } | |
Re: can you explain the requirement clearly? so that we are here to give some idea on your requirement ? | |
Re: hai **yup790** i couldnt understand properly can you explain what your requirement is ? so that we will hep you | |
Re: suggegtion only : **PixelGrabber** is also another class where we can get image data in a pixel by pixel manner | |
Re: 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 … | |
Re: 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 … | |
Re: 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 | |
Re: 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 | |
Re: 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> … | |
Re: 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? | |
Re: can you please explain your problem clearly? | |
Re: 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 … | |
Re: use **Math.abs()** instead of **abs()** because there is no default **abs()** method in js | |
Re: 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 … | |
Re: 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 … ![]() | |
Re: 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 … | |
Re: 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 | |
Re: go through the following URl http://www.9lessons.info/2011/07/send-mail-using-smtp-and-php.html | |
Re: 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 … | |
Re: can you tell me how you are going to display sprites on your applet? | |
Re: 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 | |
Re: why did you add this **mysql_error()** to $sql variable **at line 40** |
The End.