Member Avatar
Hi Dw. I'm trying to read a text file. This text file has a multiply lines and what I want is that I want to separate each line or should I say I want to split each line (chop it) so that I will be able to assign these fields …
by Mr.M 32 in Software Development ()
Member Avatar
session start has been evoked. I need the value of $v. ...
by Lonestar Jack in Web Development ()
Member Avatar
!USING PYTHON 3.1! Hello DaniWeb! Today I'm going to teach you a cool variable trick that I learned. So here's an example: a, b, c = input('?x?x?: ').split('x') Now let's input something like: >>> a, b, c = input('?x?x?: ').split('x') ?x?x?: 1x2x3 Now, variable 'a' is set to 1, variable …
by AutoPython 5 in Software Development ()
Member Avatar
In the good old days of VB6 I used to use this technique to communnicate between programmes, without using external files. In fact I could even set off the textbox interupt in the running programme so as it could do something once triggered. This being said, I can't get it …
by UKnod in Software Development ()
Member Avatar
Hey guys! I have a quick question that I think is a simple mess up. I am trying to make a console word game in c#, and I have different classes, and a main class that calls those classes. I first have the Player class, and the CreateCharacter class. My …
by gangsta gama in Software Development ()
Member Avatar
Group, I'm using TOAD to query the Oracle database. My better expertise is in VB.net. I have very little SQL experience. My question: Can I create a variable in TOAD/SQL to prompt for a date(s)? Here is what I want to do: Question 1: Enter Beginning Date (user to enter …
by doncwilson_1 16 in Databases ()
Member Avatar
Hey everyone, Got 2 questions here that i'm hoping will be answered. Say i have 2 variables ... and later on init. them in the constructor ... What would the ivalArray() indicate? Would it be the same as initializing every element to null/empty? Or does it actually mean something else …
by Tycellent in Software Development ()
Member Avatar
I'm not sure if this should be in this forum but I figured it was a good starting place. I am creating a database that, among other things, allows users to input a store's location (e.g. name, address, etc). Once a store has been added, there is an ability to …
by jrotunda85 9 in Web Development ()
Member Avatar
Hi Hope,everyone is doing good out there. I need some help regarding which strategy to use for one of my projects. Here are the project details I want to generate PDF forms, by gathering data from user.There are different questions to ask and based on each answer,we will ask next …
by baloch123 in Web Development ()
Member Avatar
I have the following javascript code ... And the following code to verify for regex pattern: ... What can I do to all columns be verified for the date pattern? Making the array date stay only with the values 2014-12-31 12:23:43,1980-12-30 23:43:42,1978-05-21 23:43:65,1973-04-06 12:34:09
by jean_5 in Web Development ()
Member Avatar
Sometimes you want the value of a variable to be related to its name in the source code. For example, the variable x should have the value "var x". This is especially useful when you perform symbolic computations with python (with the sympy module for example). In standard python, the …
by Gribouillis 1,250 in Software Development ()
Member Avatar
i am missing something ...
by imti321 35 in Web Development ()
Member Avatar
Hi everyone I have a script which contains contains mostly JavaScript. After various bits of user input, it ends up with an array which contains 6 times (hh:mm) and these can be access by times[0] thru times[5]. Obviously these variables would be available on a clients PC. Another PHP programmer …
by terrymold 7 in Web Development ()
Member Avatar
... I want to be able to have the user enter the number of rows that the matrix has and then ask for each rows value (Like user entering "1 0 5 9 5") and assigning that to the variable matrix1_row1_set then getting another row and assigning it to a …
by valestrom 17 in Software Development ()
Member Avatar
I am trying to make a function that rounds number.. I declared the function above the main and voided it Then I recalled the function in the program and listed the variables needed in brackets and then I wrote the function I can't work out what is wrong. include<stdio.h> include<math.h> …
by terence193 -4 in Software Development ()
Member Avatar
Hello, guys, I encountered a big problem. There is a genereted matrix of buttons: What can I do when one of those buttons is pressed (i have the method ) to know what i and j has he? I want to make smoething like this
by BogdanCov in Software Development ()
Member Avatar
Friends I have a problem in totalling the variable .When I use my code I am not getting the answer as I expected. My code is as below the values of my above variables are 900,000.00,4,500.00,30,000.00,10,000.00 When working I am getting the answer as 944.00 Instead of 944,500.00 Why this …
by mavtcr in Software Development ()
Member Avatar
Hi all, I am working on the following code and I am having a problem with defined variables. On the output on the Submitted and Username Inputs as being undefined. I have added $username = (isset($_POST['Username'])) ? $_POST['Username'] : ""; at the start of the function but not suppressed. Thanks …
by davidjennings in Web Development ()
Member Avatar
I'm starting my Computing project and am using Python linked via sqlite3 to a database. As part of my project I shall be searching for maths books in the database via name or module etc. I wish to display the results on a GUI in python so need to set …
by CodingCabbage in Software Development ()
Member Avatar
While executing, the nothingness variable encounters a error with exec. When I printed the variable, I got a newline. I got nothing for the variable type.
by james.lu.75491856 in Software Development ()
Member Avatar
I'm having difficulty opening message content for each unique message because I'm struggling to get the PHP variable to a url defined in a javascript file. My foreach loop that echos out all of the messages for the user: including the JS files: calling on the JS function: A snippet …
by mmcdonald 28 in Web Development ()
Member Avatar
Hi I was taught not to use global variables and one of my friend is using global variable for database handle for his website... could you please explain if there is an issue if he uses global variable for database handle? he is using it to access database from anywhere …
by t_thakar in Web Development ()
Member Avatar
Hello, I need to pass an array from a VB6 application to another application. How can I do? Thank for help
by Alessandrorenzi in Software Development ()
Member Avatar
Please can anyone explain clearly.... what is the difference between session and httpcontext.current.session and application variables? Thankyou in advance...
by ss125 18 in Software Development ()
Member Avatar
I would like to have a file in my project which contains variables for use by all classes. I this possible to accomplish efficiently. I have heard that using a module with static varibles could work.
by Patrick_3 in Software Development ()
Member Avatar
I stumbled on upon this anomaly in one of my programs and can't figure out why this is happening. I made a small test function that exhibits the same behavoir. It's like the local variables of my function are being saved after the function exits. The exclude_ids variable keeps growing. …
by ihatehippies 11 in Software Development ()
Member Avatar
Hello, I created an XBAP web application which I already implemented on my website but I am wondering if it would be possible to pass PHP variables like session etc. to the app itself? I know it's possible with ASP.net, but I am not sure for this one. For example, …
by SQLpower in Web Development ()
Member Avatar
Hi everyone and thanks for reading! I use JavaScript to create sets of text boxes on the fly. I also have a hidden counter in a text box on the form which I also post to my PHP script. This hidden counter is how I tell PHP how many text …
by antwan1986 4 in Web Development ()
Member Avatar
The following code gave error on gcc compiler But when static is removed from int a then it runs with no errors..Can someone please clear the doubt??
by saurabh.mehta.33234 13 in Software Development ()
Member Avatar
Hey guys, below is my code, I am working on trying to PASS Variables to a popup window. I have it to where it show the embed window(which is blank) link, the title(which is blank) and instuctions(which is blank), but I cannot get it to pass the variables of what …
by patk570 1 in Web Development ()