199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Kuroshi

The question is pretty straightforward, does BigInteger have a limit? From what I know it is only limited to the amount of memory available on the system, nothing else. This question arose when my instructor told me that one could not calculate 50! using BigIntegers, which I believe one can. …

Member Avatar for JamesCherrill
0
162
Member Avatar for geethashri

hello i am using vb 2008 version and microsoft office access 2003.I have installed access 2007 also. while i work in vb,i get error -could not find installable ISAM ,at this code con.open("provider=microsoft.jet.oledb.4.0;datasourse="&application startup path&"vbnet.mdb")

Member Avatar for zryder
0
145
Member Avatar for PerplexedB

I'm not sure I undestand the second dimension of the three dimensional array that I created in `$rowData`. `test.xlsx` contains 3 row and 2 columns of string values. Also `count($rowData)` returns 12, not 6. <?php // Include PHPExcel_IOFactory include '../PHPExcel/Classes/PHPExcel/IOFactory.php'; $inputFileName = 'c:\DOCS\test.xlsx'; // Read your Excel workbook try { …

Member Avatar for PerplexedB
0
486
Member Avatar for jared.geli

Hi I'm new here. I'm making a barcode calutator and I want to know how can I get the positions of all integer in a string because I need their position for calculations. Thanks in advance

Member Avatar for jared.geli
0
271
Member Avatar for best4earn

I m using xampp 1.8.2 on windows xp , i was testing my word pres plugin it shows queries not executed or show a blank page while when i upload my plugin to byethost online server all codes working properly . My question is , why a same code show …

Member Avatar for best4earn
0
176
Member Avatar for redcore

I am a total php newbie and hope to find someone who could help on a few issues: Site CMS=joomla 2.5; the component breezingforms/contentbuilder requires certain php code to link a field to a task i.e. referring to a URL. I have more detail for someone willing to help.

Member Avatar for AARTI SHRIVAS
0
275
Member Avatar for karthik_ppts

Hi Frendz, I need to login with a site to get the content. I'm using the below code to do the same. <?php include_once('simple_html_dom.php'); extract($_POST); if($submit) { $username = '*************'; $password = '*************'; $loginUrl = 'https://secure-admin.booking.com/booking.html?bn=685763648&hotel_id=439210&code=57ed501f25de55965e13ab29fcd936a3'; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $loginUrl); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, 'loginname='.$username.'&password='.$password); curl_setopt($ch, CURLOPT_COOKIEJAR, …

Member Avatar for karthik_ppts
0
323
Member Avatar for pritesh2010

i have follwing data in datatable how to convert it to xml ErrorType UtilityType MstLocCode MDescription SubLocCode SDescription FieldName FDescription 1 Elect NM0001 XMN001 ABC ddsafs 1 Elect NM0001 XMN001 XYZ ddsafs 1 Elect NM0001 XMN001 LMN ddsafs 1 Elect NM0005 XMN002 sds 1 Elect NM0006 XMN002 fghfgh Gas ddsafs …

0
189
Member Avatar for munitjsr2

**test.html** <!DOCTYPE html> <html> <head> <title>Database test</title> <link rel="stylesheet" type="text/css" href="test.css"> <script> function validateForm(n,mes) { valid=true; var x=n.value; var errn="error_"+n.id; var email = document.getElementById('EMAIL').value; var filter = /^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/; //alert(errn); if (x==null || x=="" || x.trim()=="") { document.getElementById(errn).innerHTML=mes; valid=false; } else { document.getElementById(errn).innerHTML=""; if(n.id == 'EMAIL') { if (!filter.test(email)) { document.getElementById(errn).innerHTML="Please …

0
112
Member Avatar for Ashkan_1

I didn't expect to find this so difficult, but I'm trying to set a user variable in MySQL to contain an array of values. I have no clue how to do this so tried doing some research and was quite suprised to find no answer.

Member Avatar for Atli
0
6K
Member Avatar for bluejamesbond

I am trying to create a simple transparent window where I can draw with Direct2D. So far what I have done: 1. Created window 2. Set style to **WS_EX_LAYERED** 3. Set alpha color key as #FFF 4. Draw using Windows Graphics a white rectangle 5. Now window is transparent with …

0
200
Member Avatar for garyjohnson

Hello, this is a broad question but I need help selecting a webhost. Currently I am with GoDaddy and they are a great hosting site. The problem I have is they only allow 1GB how data to be stored in a database. They do allow unlimited databases but I am …

Member Avatar for mmcdonald
0
351
Member Avatar for patk570

I have a form that i am getting info from and then I want to update certain fields in the database only not all the fields it then sends out an email to the person that filled out the form with a randomly generated ticket number that they can then …

Member Avatar for Atli
0
223
Member Avatar for alobi

I am not sure why I keep getting the error message below(Pleae see the Asterisks ) Notice: Undefined index: myusername Notice: Undefined index: mypassword Notice: Use of undefined constant myusername - Fatal error: Call to undefined function stripslashed() Here is my code <form action="Main_login.php" method="post" name="fromLogin"> <table width="300" border="0" align="center" …

Member Avatar for mmcdonald
0
352
Member Avatar for garyjohnson

How can I replace <br>, \r, \n with " ". Which is an empty space. Is there a way to detect these characters in a string and replace them with a single white space?

Member Avatar for mmcdonald
0
1K
Member Avatar for gahhon

i have 3 text box which must be in numeric, but i just want shown only one error message once either one of the text box was incorrect formating. how can i archieve that?

Member Avatar for gahhon
0
240
Member Avatar for iana.bancila

Please help me to perform this code! I'm beginner and want to know how it's look like! thank you To create abstract data type (structure) - vector that comprises a pointer to the target and the number of elements. To define initialization functions, the removal of a vector, set / …

Member Avatar for NathanOliver
0
207
Member Avatar for daniel.conlinjr.1

<div class="test" style="color:#fff; width:500px; height:100px;" on onmouseover="style='display:inline;'" onmouseout="<?php sleep(5) {//need a display none here}?>"> <p>Hello All</p> </div> can some one help me please!!!

Member Avatar for JorgeM
0
355
Member Avatar for Ravic85

I'm a bit lost. I am trying to take an input file and use the data inside as a command as well as the data. So my input file would look like this: *B 127.2 Hi 183.2 Someone 23.8 Lost* Where "B" would call the specific function it is attached …

Member Avatar for Ancient Dragon
0
220
Member Avatar for Dani

What is the difference between Pascal and Delphi? I heard they're like the same language?

Member Avatar for seblake
0
1K
Member Avatar for aVar++

I know there is lots online but I want your guys opinion of what you have got on with. I need a game engine/program to create platformers, its just for a hobby at the moment :) I will eventually go in to 3d what do you guys use? I always …

Member Avatar for aVar++
0
158
Member Avatar for wallet123

Hello guys, im trying to self study about connecting java to mySQL database. it's been a while since i used java, so i forgot some of the codes a little, and im also not so good at it. So im trying to connect, been copying and pasting codes trygint to …

Member Avatar for stultuske
0
357
Member Avatar for eldiablo1121

Hello, I have to write a program where I need to take an input from the user, a phrase with words seperated by spaces, and then print the phrase and show how many times a word is used in the phrase. I'm a beginner, I would like to know how …

Member Avatar for eldiablo1121
0
2K
Member Avatar for Platnium

I was running my program whenn it crashed and gave me a error of NSInternalInconsistencyException reason: Could not load NIB in bundle can anyone help please

Member Avatar for bondo
0
162
Member Avatar for lilwizz770

I have a table applicants and one of the columns is age, i want to be able to calculate the age range, frequency and variation. Is there a way this can be achieved?

Member Avatar for diafol
0
198
Member Avatar for Pride

Hi guys, I've been working on Vb.net for about 2 and a half years. It's easy and always has been. I did almost everything. I need some new ideas to work on. I did all the basic stuff such as: picture viewer browser calculator 'explorer' - to view files/folders reads/writes …

Member Avatar for sashyn01
0
407
Member Avatar for dabasank

I need to retrieve all the filenames ending with .xml extension from all the subdirectories present in a directory and copy those names into a new .xml file.

Member Avatar for vegaseat
0
136
Member Avatar for plasticfood

hi guys, I'm new to python and i can't seem to understand this one line of code right here: distance, coordinates = min([(someFunction(state, coordinates), coordinates) for coordinates in coordinatesList]) coordinatesList contains a list of paired coordinates (x,y). someFunction returns an int. My question is why isn't distance and coordinates contain …

Member Avatar for plasticfood
0
396
Member Avatar for ss125

Hello friends, I had done some questions regarding function call. I had done an console application that can run a particular set of code every minute. For that i used System.Threading.Thread.Sleep(60000); That worked well too. But now i stuck in another problem. Now I dont wanna use the above code.Because …

Member Avatar for ss125
0
276
Member Avatar for gahhon

i am using ASP.NET and i am able to detect the close the tab where's the `<body onunload="xxx">` but i don't know inside the xxx method how to window.open to another page with new window.

Member Avatar for JorgeM
0
413
Member Avatar for joshmac

I have this search method that doesn't seem to work, and I am not sure why. I need an extra pair of eyes to see why my search query brings back false results. Thanks in advance. public function search($data) { $person = $data['person']; $bind = [ ":person" => "%$person%" ]; …

Member Avatar for joshmac
0
1K
Member Avatar for marethamogale

write a program that stimulates flipping a coin 100 times and then displays the total number of heads and total number of tails achieved

Member Avatar for phorce
0
176
Member Avatar for alpay.can.984

We have this code, thanks to a helpful person but it does not fully work as expected. The problem is that it currently checks for an exact match of dates, but there are situations of times that overlap one another and that should show a conflict too (background becomes red …

Member Avatar for stbuchok
0
164
Member Avatar for gahhon

As i doing research i know most of them are suggesting use `<body onbeforeunload="beforeUnload" onunload="unload">` But i trying to do some sample, is this can't work it. Could you guys provide a simplest example to me ? In fact, i gonna to delete the `Cookies` value whenever they are trying …

Member Avatar for gahhon
0
225
Member Avatar for chrisschristou

hello friend, i ust need your help when i insert in database i go to page of my choice on local alla work fine but on server it don't work when i insert a data the page just refresh, this is the code please help me friend ("INSERT INTO commande …

Member Avatar for chrisschristou
0
487
Member Avatar for cool_zephyr

hi everyone. i've used the following way to store the uploaded files into D: drive of my windows machine from Tomcat server and it works pretty goood. private final String directoryPath="D:\\uploadedFiles\\"; File f=new File("D:\\uploadedFiles\\"+fileName); InputStream in=file.getInputStream(); OutputStream out=new FileOutputStream(directoryPath+fileName); byte[] buff=new byte[4096]; int count=0; while((count=in.read(buff))!=-1) { out.write(buff, 0, count); } …

Member Avatar for JamesCherrill
0
303
Member Avatar for pc20912

How can I use Background Image(PictureBox) in Mdi Form without overlap to another forms.

Member Avatar for pc20912
0
91
Member Avatar for sid_2

Hello, I am dealing with SQL server 2005 and i have data from a system where i am tracking an application at each stage in the system. i have data in a tabular form as follows and the dates are derived from an sql statement. how best can i write …

Member Avatar for sid_2
0
207
Member Avatar for websponge

Hi, I use a query which is identical throughtout my application, only thing that differs is the select part of the query, so for example: mysql_select_db("mydatabase", $con); $result4 = mysql_query("SELECT * FROM nap where Exchange LIKE '$majorvalue%'"); while($row = mysql_fetch_array($result4)) { $psba = $row['Site']; $status = $row['Status']; $spectrum = $row['InSpectrum']; …

Member Avatar for Atli
0
149
Member Avatar for blueguy777

how to update table in foreach loop with where clause my code: foreach($output as $var) { $tmp = explode(",", $var); $collec_date = $tmp[2]; $cust_id = $tmp[4]; $cust_name = $tmp[5]; $install_no = $tmp[6]; $amount = $tmp[7]; $sql = "UPDATE ankali_slabpay SET install_date='$collec_date', install_amt='$amount' WHERE ac_no='$cust_id' AND install_no='$install_no' AND $install_amt='000000' GROUP BY …

Member Avatar for Atli
0
3K
Member Avatar for MrDavo

Hi Everyone, I have a technical question regarding how Perl scripts are run by Servers. In traditional programming a source file (containing human readable programming instructions) is first compiled (into binary data) before it can be run by a computer. Do Perl commands get compiled before being run, or does …

Member Avatar for yuvanbala
0
245
Member Avatar for kandarpa

Hi all I have a function and it is being called by many other functions. Is there any method or macro which can return the function name which calls the current function. EX: [code] int a() { pintf (<required a macro for printing the caller function name>); /* do operation …

Member Avatar for बालाजी
0
7K
Member Avatar for OsamaJutt_1

Hello Guys, I am facing problem while i am create menu system using swtich statement. I have 3 level of menu but don't know how to go back to main switch Statement. For Example currently I am in 2nd level of switch but how to go in main(outer) switch. Please …

Member Avatar for stultuske
0
3K
Member Avatar for Tko_1

What im tryig to do is add one line of code to all files at once Can this even be done ? I have tried reading all files in a directory then fopen to fwrite without any success. Any ideas ? Thank you

Member Avatar for Tko_1
0
203
Member Avatar for garyjohnson

I want to remove all enters from an input and replace them with a single space. By that I mean something as </br>. So if someone places the input like this Hello, my name is bob. How are you? It will look like this, Hello, my name is bob. How …

Member Avatar for buzzfire
0
171
Member Avatar for brandon66

User fills out certain values in a form and hits the submit button. The values the user filled out will be submitted to the database. The user needs to come back to that form and be able to update the values he did not enter the first time. How would …

Member Avatar for brandon66
0
198
Member Avatar for Lewis_1

Hello. I've created 2 pages that i'm currently working on. One is called; Test.php -- which just includes a basic form in HTML. <Form name ="form1" Method ="POST" Action ="result.php"> Building Name: <INPUT TYPE = "TEXT" Name ="buildingName"> Room Number: <INPUT TYPE = "TEXT" Name ="roomId"> <INPUT TYPE = "Submit" …

Member Avatar for Lewis_1
0
271
Member Avatar for Joseph Vann

Hello, I am working on a Tk program that generates geometric patterns, and I have written into all of my defs that if the variable "outline" is True it will draw a black outline, otherwise it will draw an outline the same as the fill. I tried a function called …

Member Avatar for ZZucker
0
399
Member Avatar for FazeLessWhite

Hey guys! I wan't to write a facial recognition software in C++ My platform is on a MAC. Please Suggest some good examples Thank you..

Member Avatar for rubberman
0
264
Member Avatar for Rayon_1

I have a database i want to write a query to return the total members in the database member(paul,100). member(john,101). member(ryan,102). member(jabouki,103). Should Return 4 I also have a list and i want to return the number of persons in the list memberlist([ant,cat,sat,bat]). Should Return 4 Query I have thus …

Member Avatar for TrustyTony
0
201

The End.