199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zaish

Hi Brothers, I m completely new at PHP, i dont know anything about php but from different sites i have come to know that i can redirect my unfriendly url to friendly urls. so i have started a short project but i dont know how to make url writing plz …

Member Avatar for Will Gresham
0
312
Member Avatar for dotNetDummi

Hi all, Is it possible to insert a SQL statement where I specify the time, and not the date. I do need the date, but I want it to be the current date when I run the insert statement. The time got to be fixed. For example, Insert into xxx …

Member Avatar for cgyrob
0
117
Member Avatar for Roebuc

Hello All, I might be developing an IVR System for a unique school project. This is something I have never done before and I am currently in the researching phase of the project. Can anyone point me to some valuable articles, tutorials, definitions, open source programs for review, and anything …

Member Avatar for Roebuc
0
181
Member Avatar for carrese04

my teacher told us to "make a program that will print the first 10 consecutive numbers starting from 1 using the while and do" but i don't know how to do, i hope you can help me guys, thanks

Member Avatar for Gaiety
0
123
Member Avatar for _dragonwolf_

I am having an issue converting words into phonetic spellings. Example: userInput = apple / outResult = Alpha Papa Papa Lima Echo I can get my code to convert a single letter to its respective phonetic. I can also get it to split a string into separate characters. Here is …

Member Avatar for _dragonwolf_
0
2K
Member Avatar for dmcadidas15

I'm having trouble with a program I'm writing and any help would be greatly appreciated. I'm supposed to use an if statement to return an error message if the values entered aren't either the strings 'on' or 'off'. Right now I have [CODE]if (b1 and b2 and b3 and b4 …

Member Avatar for woooee
0
101
Member Avatar for awa

Hi, I want to sort a tuple consisting of two floats and one array by the absolute value of the first float in reverse order. What I did is the following: [CODE]from numpy import * test = [(-0.02, 100.2, array([1, 0, 0])), (-4.02, 300.4, array([1, 1, 0])), (3.57, 503.7, array([1, …

Member Avatar for leegeorg07
0
261
Member Avatar for snurd

I need help to write the code to filter a Recordset called Data1 and a Field called AWEIGHT, when loading a form. I tried the following and it does not work. After the form is opened I only want to be able to search the filtered records. An example would …

Member Avatar for snurd
0
246
Member Avatar for mahela007

If I do this [CODE]mylist = [1,2,3,4] a = mylist a[0] = 'hello' >>>mylist output : 'hello',2,3,4 [/CODE] I find that the value of mylist has changed to 'hello',2,3,4 So my question is.. If I assign one variable as a value of another (like saying a is mylist), then is …

Member Avatar for jice
0
332
Member Avatar for catcoffee

Hi all! Сonditions of a problem: 1) in one form post info and upload file 2) validation only php without js 3) associated fields: if the value is not the same, we don't need to validate field 4) associated fields: if the value is the same, we need echo new …

Member Avatar for jomanlk
0
217
Member Avatar for Muneeb49

Help me out , This code only print First part till white Space For example if i give Input "Jhon Kane" the it only prints "jhon" kindly help me with some code which print the whole Name[code]#include<iostream.h> #include<stdlib.h> #include<conio.h> main() { char *c; c=new char[20]; cout<<"please Enetr the string :"; …

Member Avatar for mrnutty
0
102
Member Avatar for OSiRiSsk

Hello, i have trouble with creating funkction that will remove white spaces if they are more than 1 in a row i have created this function so far [CODE=c]void VymazBiele() { int c; while ( (c = getchar() ) != EOF ) { if (isspace(c)) { putchar(' '); while ( …

Member Avatar for OSiRiSsk
0
542
Member Avatar for darangho

Hi all, I am trying to write a code that determines the path of the currently running java file. I know that in python, you do os.path.join(sys.path[0], sys.argv[0]) in order to figure this out, but is there any equivalent code like this in java? Thanks!

Member Avatar for moutanna
0
181
Member Avatar for daviddoria

I have written an integration function (of one variable) [code] double integrate(double (*f)(double), const double a, const double b) [/code] However, now I want to integrate a function of one variable, but the c++ function has an additional parameter: [code] double f(double x, bool flag) { if(flag == true) f …

Member Avatar for mrnutty
0
280
Member Avatar for gottlieb78

Hi Once again a newbie posting the same homework assignment! I´ve searched alot for this problem but I´m probably not good enough in searching because I just can´t figure this out. My main problem now is to insert the airplane layout into the 2D array. I was trying to do …

Member Avatar for ImMoRtAl-
0
876
Member Avatar for JRabbit2307

import java.util.Scanner; public class AverageArray { public static void main(String[] args) { final int TOTAL_NUMBERS = 10; int[] numbers = new int[TOTAL_NUMBERS]; float sum; //Create a Scanner Scanner input = new Scanner(System.in); //Read all numbers for (int i = 0; i < numbers.length; i++) { System.out.print("Enter a number:"); //Conver String …

Member Avatar for Foxh451
0
479
Member Avatar for Anupama G

Hi, How do I change the Row height of the GridView? Can anyone help me out in this. Thanks.

Member Avatar for guru_sarkar
0
116
Member Avatar for jerMAn

When I run my crawler once it works on any page. Run it again on another page or the same page and I get this error [code] Server Error in '/WebApplication5' Application. -------------------------------------------------------------------------------- A potentially dangerous Request.Form value was detected from the client (txtBody="...e customer’s experience,..."). Description: Request Validation has …

Member Avatar for guru_sarkar
0
283
Member Avatar for cgyrob

Im currently working on a gridview built using Itemplate at runtime. When in edit mode I use dropdownlists for some of the control fields which are populated from views in my db. The problem I am finding is I usually have a memberID field and a MemberName field and need …

Member Avatar for cgyrob
0
112
Member Avatar for mexabet

I need help to make an included template to appear only on two pages and not on other pages of a photo album. Can someone help me out on how to use the "elseif" statement to accomplish this? Right now template file appears on every page, which is not what …

Member Avatar for mexabet
0
149
Member Avatar for Clawsy

All these days I've been trying to access a Swing component (e.g.: JLabel) from a separate thread. I tried using "Thread", "Timer", "SwingWorker" but I couldn't find the solution. - Using a thread results in stack overflow. - Using a timer doesn't access the Swing component (e.g.: change the text …

Member Avatar for Clawsy
0
230
Member Avatar for chico2009

hi I am a complete novice and have written the following code and it work as required, with the exeption of the text being in a tidy format when printed. The origDict.txt has been exported in a fixed file format, and I am trying to acheive a fixed file layout …

Member Avatar for chico2009
0
144
Member Avatar for j_limboo

[CODE] Newbee in php Below is my table and script, I know it should change the password I am using a registration application the password is saved in this manner 1d7d2fcc49f157c0be4456580011a58d469c71b6 I could not make out if this is a md5. I echoed the php, the password i type in …

Member Avatar for j_limboo
0
128
Member Avatar for babylonlion

I created 5 separate programs, and put them in the same folder; each one of them has a package. I need to create another one that calls their methods. The incomplete code that I have so far is: [CODE] import edu.macomb.itcs2590.babylonlion .cars.*; import edu.macomb.itcs2590.babylonlion .trucks.*; public class InventoryApp { public …

Member Avatar for babylonlion
0
112
Member Avatar for corewizard
Member Avatar for miasuhyla

i don't know how to make it..but it is an assignment that must pass up on this sunday..can someone help me..its really important..it should applied array,object and classes...please help me...:( Suppose the weekly hours for all employees are stored in a two-dimensional array. Each row records an employee’s seven-day work …

Member Avatar for BhagatS
0
93
Member Avatar for rasheed1982
Member Avatar for akulkarni

I wish to create an application using swing to update data to the database. I will need three buttons add, modify and delete. i have so far created JDBC connection with Ms acess. i have also created a textfield where i will enter data like this... [code=JAVA] import java.awt.*; import …

Member Avatar for akulkarni
0
251
Member Avatar for debasishgang7

hey all.... I already know C++.But now i want to make some GUI based application(like calculator....etc) with C++. I have decided to do that with c++ bcoz i think,application(.exe ) made by c++ is the one one which can be run without any kind of frame work installed in computer.(Example...VB.Net …

Member Avatar for Ancient Dragon
0
156
Member Avatar for fawadkhalil

Hi How can i resize an image before uploading and saving to database to the size im showing in my application.How will i accomplish this.

Member Avatar for Dhaneshnm
0
634
Member Avatar for phoenix_dwarf

Hi, i'm trying to add a checkbox to a datagrid but don't seem to get anywhere. I got to add a new column but that's where it stops. I'm reading data out of my database and then deleting the first column of that dataset's table as it is not needed, …

Member Avatar for phoenix_dwarf
0
408
Member Avatar for RohitSahni

Hi All, I am writing a code in C++ to implement Login screen which will accept user name and password from the user. Now my main concern is to hide that password to be sceen by the user. suppose my password is "Rat420" so at the time of typing anything …

Member Avatar for shashanderson
0
241
Member Avatar for StaticX

Hi, Im having a bit of trouble with a problem: Basically, I have an array with a set size,for example [CODE]my_array[40][/CODE] I am trying to figure out how to tell if it has less than 20 characters filled,and if it has more than 20 characters filled. I have tried the …

Member Avatar for Tom Gunn
0
150
Member Avatar for laidback7

Can anyone help me use a JLabel to display a stack??? I've been searching java.sun.com and I can't seem to find the right way to do it. I get errors every time. I think everything is right in my program besides this. Thanks for looking. Here's what I have: (Am …

Member Avatar for laidback7
0
182
Member Avatar for logonchristy

[B]You don't have permission to access /directory/admin/import_listings.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.[/B] I got this error while upload the fields of content to database... Anyone cross this error... Advance thanx...

Member Avatar for logonchristy
0
152
Member Avatar for dernel4u

how do i write a vb code to develop an electronic case management system for a legal firm

Member Avatar for shashanderson
0
92
Member Avatar for huss_584

I request the assistance I work on the library database, But I have problem on the erd and relationship between entity ,if any one can help me I am grateful to him . this my project if any one can add some entity and the erd please: The system contains …

Member Avatar for huss_584
0
144
Member Avatar for riya123

hi guys!!!!!!!!!!!!! This is my first thread and i want a little help. Currently i m working in a project and my project is to replicate (copy one way only) records from a db40 database to a MYSQL database. Information will only be inserted into the db4o database. There will …

Member Avatar for adrianoc
0
83
Member Avatar for laursenj

i got a phpcode as ill like to have as a javascript code if anyone can help me... Php code: [CODE]<?php $now_ho = date("H"); //Daytime(6h~19h) if ($now_ho < 19){ if ($now_ho >= 6){ $vwimg = "hh_entry_oc1"; } } //Night (19h~6h) if ($now_ho <= 24){ if ($now_ho >= 19){ $vwimg = …

Member Avatar for laursenj
0
101
Member Avatar for Wiizl

I'm using this piece of code to get the number of search results. However it says- Incorrect syntax near ')' (the very last ')' ) [CODE] SELECT COUNT(*) FROM (SELECT ID, ProductDescription FROM Products WHERE ProductDescription LIKE '%tech%') [/CODE] The inner select works fine and gives correct results, so I …

Member Avatar for Wiizl
0
142
Member Avatar for th3learner

#include<conio.h> #include<stdio.h> main() { int a,b,c; clrscr(); printf("enter your first value:"); scanf("%d",&a); printf("enter your second value:"); scanf("%d",&b); printf("enter your third value:"); scanf("%d",c); if(a>b && a>c) { printf("first value is greater"); } else if(b>a&&b>c) { printf("2nd value is greater"); } else if(c>a&&c>b) { printf("third value is greater"); } getch(); Code runs …

Member Avatar for Gaiety
0
111
Member Avatar for Stefano Mtangoo

Hi All, I have been using netbeans for long now and it is somehow good. But I saw Aptana and was attracted. But I failed to Install PHP support with its new PHP plugin (Actually it is PDT). It throws errors and Have tried to check on Easy eclipse. It …

Member Avatar for Stefano Mtangoo
0
839
Member Avatar for Vdub.za

Hi guys, I am still a bit new to delphi and was wondering if someone can help me. I need to figure out how to write a search engine into an app i am writing in delphi. any help on how i may be able to do this would be …

Member Avatar for Vdub.za
0
269
Member Avatar for Dan08

Me and Sravan953 have made a program called Py-Mailer; you all can find it in our first website. Visit [URL="http://h1.ripway.com/dan08/Team_Vaska.html"]http://h1.ripway.com/dan08/Team_Vaska.html[/URL], for more information and to download the program. The program works on Windows, and we are still trying to make it work on Linux. On Windows it's working perfectly and …

Member Avatar for Stefano Mtangoo
0
120
Member Avatar for amharper

I do not understand how to get modules to recognize variables that have been declared Public in the frmMain section. When I try to use a variable in a module, and the variable has already been declared as Public in the frmMain section, VB shows an error that says the …

Member Avatar for vb5prgrmr
0
97
Member Avatar for culebrin

Hi, Is there any chance to get a visual basic 6 compiler for free? I mean, I have a vb6 project (made with the visual studio 6 IDE), but I have no IDE (visual studio 6 or something). Thank you very much. Omar

Member Avatar for vb5prgrmr
0
348
Member Avatar for web3

I have this 3 file for small chat and it works without database. But i was trying to connect to my database and use my users. Index.php [CODE] function createForm(){ ?> <form action="<?php echo $_SERVER['PHP_SELF']; ?>" method="post"> <table align="center"> <tr><td colspan="2">Please eneter a nickname to login!</td></tr> <tr><td>Your name: </td> <td><input …

Member Avatar for Stefano Mtangoo
0
416
Member Avatar for PDB1982

I'm trying to pick out whether or not a prime number is given by a user, when they input a number. This is what I have, but it' not working correctly....can anyone suggest anything? [code] #include <iostream> using namespace std; void main() { int n; while (true) { cout << …

Member Avatar for JasonHippy
0
99
Member Avatar for PDB1982

I'm trying to figure out a way to create a program that has a user input a positive integer, and output a statement to the user that if the the number entered is 1 - "Number must be 2 or larger...Please enter another Positive Integer", 2 - "Number is an …

Member Avatar for JasonHippy
0
518
Member Avatar for tarunkhatri

Hi, I want to pass the parameter of employee_id to a page. My code is working fine and passing parameter to page but the problem is rather then the current parameter , It is passing the previous parameter which was selected in previous submit. Below is the code. [CODE]<form action='manager_employee_select.php?proc_employee_id=<?php …

Member Avatar for poojamakhija
0
95

The End.