199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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, … ![]() | |
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 … | |
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 … | |
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 … | |
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 :"; … | |
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 ( … | |
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! | |
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 … | |
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 … | |
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 … | |
Hi, How do I change the Row height of the GridView? Can anyone help me out in this. Thanks. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
How To Find Max Of 3 Numbers Without Using Comparison Operators? | |
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 … | |
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 … | |
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. | |
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, … | |
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 … | |
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 … | |
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 … | |
[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... | |
how do i write a vb code to develop an electronic case management system for a legal firm | |
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 … | |
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 … ![]() | |
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 = … | |
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 … | |
#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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 << … | |
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 … | |
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 … |
The End.