64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for CreatorZeus

okay i have a file with data orgainzed like this in a dat file to be read: apple.0.0.end. and i want it to be read by char until it sees "." then print that, then read again repeated until the end of the line. so i can show the data …

Member Avatar for deceptikon
0
260
Member Avatar for kothaisaravan

Hi, I have a requirement to save images from local system to server through windows application using c#.net. How can I do this in windows application?

Member Avatar for anthonydaly
0
400
Member Avatar for hriti

hey i want to use session id from index page to other page...bt when i use it by post method and click on the id text thn it will show the data and thn the id is being destroyed...how to keep the same id tehre...plz help me...

Member Avatar for minitauros
0
136
Member Avatar for ArashVenus

I've tried lots of times to get this to work but , no luck . the problem is this program shows white screen , and It doesn't display the polygon . Here's the code , take a look : /*Headers*/ #include <GL/glut.h> /*End of headers*/ /* Check Compiler*/ #ifdef __FLAT__ …

Member Avatar for ArashVenus
0
8K
Member Avatar for mbarandao

Hello: I am wondering if there are any suggestions on how to pass variable to a div in the following manner: foreach (array_combine($playerState_array_clean_phase2, $membId_stripped_array_clean_phase2) as $playerState_array_clean_phase2 => $membId_stripped_array_clean_phase2) { echo" <a href=\"#_MultiDataProcessor?Pid=$membId_stripped_array_clean_phase2&Plname=$lname&Pfname=$fname\" title=\"$membId_stripped_array_clean_phase2\"><span style='font-size:1.5em'>$playerState_array_clean_phase2</span></a>"; } I want to get those variable in a div that looks like: <div class="iLayer" id="MultiDataProcessor" …

Member Avatar for iamthwee
0
3K
Member Avatar for tqmd1

Sir I am have these codes <?php session_start(); require_once("connect.php"); function clean($str) { $cstr=trim($str); $cstr=addslashes($str); $cstr=htmlspecialchars($str); return $cstr; } if(isset($_POST['login'])) { $myusername=clean($_POST['username']); $mypassword=clean($_POST['password']); if(empty($myusername) || !empty($mypassword)) { echo ('<script>alert("User name or password must not be empty")</script>'); header ("location: login.php"); exit; } else { $query="SELECT * FROM admin where username ='". $myusername …

Member Avatar for pritaeas
0
180
Member Avatar for <M/>

Hi guys, i am trying to find the area of a triangle and for some odd reason i can't get it to produce the right numbers. Here is my code: import java.util.Scanner; public class Exercise2_15 { // find the area of a triangle public static void main (String [] args) …

Member Avatar for <M/>
0
471
Member Avatar for nadiam

hey guys. so i found the coding for submitting a form without refresh from a website( http://www.computersneaker.com/submit-a-form-without-page-refresh-in-php-using-jquery/) but its not working. i just copy pasted the code to test it out but it doesnt submit the data. I wanted to ask the owner but didnt find any commenting area. <head> …

Member Avatar for Gaetane
0
3K
Member Avatar for MaddTechwf

When I run the code below it fails. I've run the exact same code without the ID appended to the url and it worked just fine. Am I appending it incorrectly? // CALLS THE PHPSLQAJAX_GENXML2 PAGE AND RETURNS VALUES function downloadUrl(url, callback){ var request = window.ActiveXObject ? new ActiveXObject('Microsoft.XMLHTTP') : …

Member Avatar for MaddTechwf
0
209
Member Avatar for zebnoon

Dear Bodies! I am developing a Cold Store Managemen system. I need to count days according to dates.for example 5 ton petato put in cold store room on 01/12/2013 .when i exit this 5 ton peteto on 10/12/2013 system should show me that 10 days i have to charge ?

Member Avatar for zebnoon
0
199
Member Avatar for kipslem

Hello, My sincere apology, I have been posting almost 4 questions now where I have received 2 answers being solved. These are simple questions which any one familar with VB.Net can solve easily. Please understand, I'm a newbie to VB.Net. Now my next issue is; I have a a form …

Member Avatar for Reverend Jim
0
3K
Member Avatar for KushMishra

Hello All, I just wrote some code in C# and tried converting to VB.Net. I am getting 3 kinds of errors in my code :- 1. Class 'XXX' must implement 'Function XXX(abc,pqr,...)' for interface 'XX.XX.XX'. 2. 'RaiseEvent' definition missing for event 'XXX'. 3. 'XXX(abc,pqr,...)' is an event and cannot be …

Member Avatar for ryanjayson
1
675
Member Avatar for jared.geli

Hi guys. I'm having problems in updating records in Excel. Whenever I update a cell the value I input it goes 4 cells above the intended cell and I know the reason. In my Select query: `SELECT * FROM [Sheet1$A5:R1048576] where [ITEM CODE] is not null` Meaning I skipped reading …

Member Avatar for jared.geli
0
228
Member Avatar for mixelplik

I'm trying to get a better understanding of ifstream, and was playing with it using the program below. It's purpose was to grab the first and last entries in the file, instead I get some perplexing output leading me to realize I've very little clue as to how streams really …

Member Avatar for mixelplik
0
1K
Member Avatar for tqmd1

Sir I am using these codes to clear all textboxes in form <script type="text/javascript" src="jquery-1.7.1.min.js"> function clearboxes() { document.getElementById("my_name").value=""; document.getElementById("my_moba").value=""; document.getElementById("my_mobb").value=""; document.getElementById("my_add").value=""; document.getElementById("my_email").value=""; document.getElementById("my_myfax").value=""; document.form1.my_name.focus() ; } </script> Is there any way to run loop to clear all textboxes rather then writinng separte line for every textbox?

Member Avatar for Troy III
1
348
Member Avatar for MaddTechwf

I've got a list of hyperlinks that have a specific class assigned to them of "single-location". I need to add an EventListener to my Google Map that when a hyperlink is clicked, it will call the correct function. Can anyone help me?

Member Avatar for MaddTechwf
0
166
Member Avatar for mixelplik

I see a lot of people list code using this "::" as in: #include <iostream> int main() { std::cout << "Blah, blah, blah"; return 0; } and others use "using" #include <iostream> using namespace std; int main() { cout << "Blah, blah, blah"; return 0; } Is there a downside …

Member Avatar for mixelplik
0
280
Member Avatar for Frank_6

Hi all, I have a simple contact info form written which when submitted sends the info to a php script which is supposed to then email on the details. The problem is that I can't seems to get the mail function to work correctly. I have php running on iis7 …

Member Avatar for pixelsoul
0
890
Member Avatar for Annettest

Hello all: I have written a function that gets data (numbers) from a text file. My function works by taking a line from the text file, discarding unnecessary symbols, and putting the numbers into a vector. Here's a snippet: // Get data from text file. Values then put into one …

Member Avatar for haider885
0
395
Member Avatar for patk570

Hello, I have a function that is working to generate the navigation bar, it grabs the parents and the "childs" and displays them but I have noticed that it is not closing the ul, li tags properly. I will attach a screen shot below. My code is this: <? include …

Member Avatar for patk570
0
223
Member Avatar for kgizo

Hi I have been struggling with this query for a while now I need to get the number of rows inserted into my database table, but I keep getting this error I can't seem to get rid of. $result3=mysql_query("INSERT INTO dest_table.create_info SELECT * from Profusion.source_cdr"); $num_rows = array($result3); $progress=mysql_num_rows($num_rows); echo …

Member Avatar for kgizo
0
266
Member Avatar for baloch123

Hi Everyone I want to convert Excel File to PDF using PHP. Can anyone guide me in this matter? I have tried PHPExcel by using tcpdf,mpdf,docpdf libraries but they didn't produce good layout. Do you have any other suggestion? Waiting for your reply.

Member Avatar for jazleeen
0
7K
Member Avatar for syahirah_1

Hi, I have form which is have texbox,radiobutton and chechboxlist.I succesfully to insert the form but my problem is I can't updating my checkboxlist.I set checkboxlist to my db is integer means I get the value 0 or 1. here i give my sample code form. <tr> <td align="center" style="font-size: …

Member Avatar for sheikmd
0
217
Member Avatar for </scorpion>

i want to do are the ff: * Loop through the Rows in the Datatable using Foreach or For * Compare every row data with the textbox value. * Once the value is matched or exists then break the loop & view a message. . and i want view message …

Member Avatar for Mike Askew
0
1K
Member Avatar for joelanandraj

hi all i have created a jsp page for online exam here i have created a database to store all the question and answers ,used the database to fill all the radio button values,but whenever i retrieve the radio button value and compare it with the database value it is …

Member Avatar for joelanandraj
0
232
Member Avatar for hriti

i want to put the link for other language...if i click on that language the site will convert to that language...plz can anyone help me...its urgent... thnks in advance...

Member Avatar for diafol
0
196
Member Avatar for suavedesign

my url is [http://www.chailifeline.org/events/letourdesimcha-new/index.php](http://www.chailifeline.org/events/letourdesimcha-new/index.php) How can i get the background image on top to stay as a full background border, no matter how much a user zoom out? it's width is set as 100%. I dont want to see any black background when I zoom out. How do i do …

Member Avatar for suavedesign
0
340
Member Avatar for Violet_82

Hi guys, I have come across something really confusing, so I wonder if somebody can help me with that. I wanted to increment the width of a container using this version of the `.css()` method: `$( "div.example" ).css( "width", function( index )` as per http://api.jquery.com/css/#css-propertyName-functionindex--value So here is my html: …

Member Avatar for Violet_82
0
457
Member Avatar for centenond

hey guys ! so im learning c, got a question: so say i have a struct of students and inside the struct is name , id , fatherName, motherName. like this struct stds { int id; char name[21]; char fatherName[21]; char motherName[21]; } std[100]; suppose they are 100 stds and …

Member Avatar for centenond
0
191
Member Avatar for TheBludger

Ok this is a basic question. I suspect that I do not know the correct terminology to search for the answer. I am playing in a development environment and this is all about learning and pushing my skills to learn more. My main web site is an HTML Form that …

Member Avatar for TheBludger
0
284
Member Avatar for swati1706

hello everyone.. im trying to insert date into mysql..the field is of date type bt when i select a date from datepicker and insert it into database,it takes a random date..not getting where the problem is.. the code is as follow SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd"); java.sql.Date d = null; …

Member Avatar for pritaeas
0
252
Member Avatar for dre-logics

I have a simple question, I have the following menu. Main Menu Sub Menu 1 Sub menu 2 Sub menu 3 Sub sub menu 3.1 Sub sub menu 3.2 Sub sub menu 3.3 I would like to direct if the Form load that "Sub sub menu 3.3" is selected. Is …

Member Avatar for ryanjayson
0
255
Member Avatar for sixtorodriguez

So, I have attached my code below. It worked fine , until I introduced the part to print out what's in the input file. After I did this, it says it's completed, but I doesn't copy the content in the output file. What should I change? Thanks a lot /*Program …

Member Avatar for sixtorodriguez
0
323
Member Avatar for Jemuel

Please help! i am troubling about on how can i execute my sql script properly. Thanks!Here's my code $sql="INSERT INTO inventory(account_number,serial_number,locator,remarks,`date_assigned`) VALUES('$accountno','$serial','$locator','$remarks',NOW())"; $sql.="INSERT INTO action_log(action,username,`date`) VALUES ('assigns the box($serial) to $accountno','$user',NOW())"; $sql.="INSERT INTO account_logs(action_log,account_number,username,`date`) VALUES('Assign','$accountno','$user',NOW())"; if(mysql_query($sql)){echo "Successfully Assigned!";} else{echo "Insertion Failed!";}

Member Avatar for Jemuel
0
211
Member Avatar for cmps

Hello, I am using mysql as database, innodb as tables engine. Some of my tables have foreign keys referencing to other tables primary keys. Since the definition of foreign key is to restrict the value of itself, I would like to know if I should check the existence of the …

Member Avatar for diafol
0
213
Member Avatar for belladiluna

Help me please! Need c# code... import numpy from mpl_toolkits.mplot3d import Axes3D from matplotlib import cm from matplotlib.ticker import LinearLocator, FormatStrFormatter import matplotlib.pyplot as plt def zadachaOPrepyatstvii(h, f, fi, xi, sigma, epsilon=0.0000001): m = int(1/h) h2 = h * h u = numpy.zeros(shape=(m+1, m+1)) gamma = numpy.zeros(shape=(m+1, m+1)) prevnormr = …

Member Avatar for vegaseat
0
5K
Member Avatar for marin_10

Hi guys, I have question about python. I mean I need a litle help. How can I increase date from date given in file by start after midnight? File looks like: PROGRAMSKA SHEMA ZA PETAK, 13.12.2013. 06:00 ZMBT televoting 06:05 Madhubala, igrana serija, 138. epizoda, r. 06:50 Tajne, igrana serija, …

Member Avatar for vegaseat
0
265
Member Avatar for aslam.junaid786

package abc; import java.util.*; public class TransformCharacters { public static String changeCharacters(String string) { for (int i = 0; i < string.length(); i++) { char ch = string.charAt(i); { if (Character.isUpperCase(ch)) string.replace(ch, '1'); } } return string; } public static void main(String[] args) { // TODO Auto-generated method stub String …

Member Avatar for ObSys
0
204
Member Avatar for gil857

I'm not a database guru, but I'm planning a database and I'm not sure which solution would be better for the long run ( in terms of query speed ): - A single table that has multiple fields of a set quantity. For example one field might be for a …

Member Avatar for gil857
0
171
Member Avatar for idiotguy

Hi Friends, (i) I'm very new to python.so i wanna know which version of python is suitable for me.I have [I][B]python 2[/B][/I] and [I][B]python 3[/B][/I] in my choices..which one is best for me??? (ii)Also give me the list of GUI toolkits for respective versions.. (iii)which version has the best library …

Member Avatar for Tcll
0
716
Member Avatar for hochspeyer

All I want to do is install Python on a Windows 8.1 box. The "EXTREMELY HELPFUL" note in the reademe says goto "PCbuild". Where is this wonderous file? Bueller? I searched from the very TOP of the Python directory, and as soon as the "C" was entered, I got a …

Member Avatar for hochspeyer
0
129
Member Avatar for Helpmeplease123

How do you add a membership records in java(bluej) First Name, Last Name, phone number. Please can you help me

Member Avatar for ObSys
0
259
Member Avatar for migu2990

Hi, I was asked to make a Phone Book thats saves entries and call them up. Then the teacher added a new task. The Program should delete entries. He gave us a methode and said we are not allowed to use ArrayList or Hashmaps, ONLY Arrays. I tried alot but …

Member Avatar for migu2990
0
409
Member Avatar for chandnigandhi

can any one suggest project topics in ASP.net for final year????please give some suggestions.....

Member Avatar for rose_1
-2
333
Member Avatar for <M/>

Okay, last question of the night. My program is to have a program collect a number, double it, and reverse. I am having problems with reversing it... Here is my code: import java.util.Scanner; import java.text.DecimalFormat; public class ReverseNumber { public static void main(String[] args) { Scanner s = new Scanner(System.in); …

Member Avatar for kal_crazy
0
173
Member Avatar for nikolaos

Testing the following code from a book public class RunTime { public static void main(String[] args) { Runtime r = Runtime.getRuntime(); //MEMORY MANAGEMENT long mem1, mem2; Integer intmatrix[] = new Integer[1000]; System.out.println("Total memory is :" + r.totalMemory()); mem1 = r.freeMemory(); System.out.println("Initial free memory is :" + mem1); r.gc(); mem1 = …

Member Avatar for mKorbel
0
777
Member Avatar for Priti_P

Hello All, I am displying the paragraph by fetching it from DB using function `mysql_result($result1,$i,"Summary")` and here in DB database Summary field contains link (for ex: htttp://google.co.in) but on UI side, it simply shows htttp://google.co.in not a clickable link. How to do this ??? in short as my mysql_result() is …

Member Avatar for Priti_P
0
199
Member Avatar for <M/>

On my code, it says that there are 2 mistakes and I can't fix them. Here is my code: import java.util.Scanner; public class Exercise4_1M { public static void main(String[] args) { int countPositive = 0; int countNegative = 0; int count = 0; int total = 0; Scanner input = …

Member Avatar for <M/>
0
448
Member Avatar for Jed_1

I've implimented this snippet of code dijkstra_shortest_paths( g, name2v[tempName1], get(&VertexProperty::predecessor, g), get(&VertexProperty::distance, g), get(&EdgeProperty::weight, g), boost::identity_property_map(), // index-map std::less<double>(), // compare std::plus<double>(), // combine std::numeric_limits<double>::infinity(), // infinity 0.0, // zero do_nothing_dijkstra_visitor(), get(&VertexProperty::color, g)); to use dijkstra's on a map created from a text file, but I have no idea how …

Member Avatar for Jed_1
0
846
Member Avatar for <M/>

Hi guys, I am working on an assignment for a class of mine (Java) and I am really frustrated with it. This was my very last attempt (out of like 20)... System.out.print( "Enter temperature in Celsius to convert to Fahrenheit: " ); double c = kbinput.nextInt(); double f = ( …

Member Avatar for <M/>
0
229

The End.