64,152 Solved Topics
Remove Filter ![]() | |
what is wrong with this form????? i can see the name and email but not the msg?? [code] <?PHP echo $_POST["name"]; //works echo $_POST["msg"]; //nothing prints out ?> [/code] [code] <form method="post" action="form.php" style="margin:0; padding:0"> <b>NAME:</b><br> <input name="name" type="text" class="form" id="name"> <br> <br> <br style="line-height:8px"> <b>E-MAIL:</b><br> <input name="email" type="text" class="form"> … ![]() | |
I need to select certain the rows from a table but need to show only just five of them. For example select * from table where user = $user; but i need only top five results | |
Create a Console application that behaves like the dos shell. And should work in the same way as the command prompt of windows. Your shell should support the following commands: cd dir del xcopy rd ren md exit copy | |
Goal: Get USB drive letter upon insertion. Done so far: Detection of drive. ------------------------------------------------------------- Im using the method of RegisterDeviceNotification() [CODE]WM_DEVICECHANGE // Received message | DBT_DEVICEARRIVAL // Received Message | DEV_BROADCAST_HDR // Pointer from lParam | PDEV_BROADCAST_VOLUME //Pointer from DEV_BROADCAST_HDR Pointer [/CODE] When getting the index drive letter from dbcv_unitmask. … | |
Ok, so I've been stuck for a little while now on this problem. I'm trying to pass an array of Tabs and I'm just not doing it correctly. I believe I'm missing something simple, because I need to learn more about what is happening with my code rather than just … | |
Hello... I want to ask how to change text from richtextbox/textbox ? For example I have the sentences "The bird fly away" I want to change it into [COLOR="red"]Fly [/COLOR]bird [COLOR="red"]the [/COLOR]away I tried some code like this [CODE]TextBox2.Text = TextBox2.Text.Replace(Fly, The) TextBox2.Text = TextBox2.Text.Replace(The, Fly)[/CODE] it become The bird … | |
im trying to get an image scroller to work that i found in a code library. its working fine in firefox but not in inet explorer this is the link to the scoller... http://www.dynamicdrive.com/dynamicindex2/crawler/index.htm i am just interested in the image part. ive deleted the script for the text part … | |
Hi everyone. I am trying to write a program that controls access to my hard drive.i.e when this program is running, the specified directory can not be accessed. But first, s there any way one can create a folder using c++? | |
hi i have a datagridview showing the data from a database. Now i have a problem because i want the selected row from the datagridview to be shown on another datagridview near it on button click. I managed to make it from datagridview to listbox but from datagridview to listbox … | |
Hey everyone, i've been trying to send some words seperated by spaces to a server and only the first word arrives. The connection stuff is all fine but i have absolutely no idea whatsoever how to make it send more than one word at once. This is what i'm talking … | |
Hey, time_t sec = time(NULL); gives me the seconds since 1970. But... It works with the system clock... So maybe the system clock is not synchron on two computers... Is there a way to get the seconds since 1970 WITHOUT the system clock, so that it is synchron on two … | |
I have this table forum and topic and i want to query forumname, description, total topics in the Forum idk how to do this i tried an sql statement like this SELECT f.forumname,f.forumdesc,max(t.forum) as total_topics from Forum as f INNER JOIN Topic as t WHERE f.forumid = t.forumid; of course … | |
I am new to php/MySQL, so I apologize in advance for any stupidity on my part. I have a MySQL database for events, and the main table ("Brochure") has multiple Trip Leader fields, e.g., "Leader," "Assistant Leader," "Leader in Training," etc. All of these leader fields get their data from … | |
Hi :) I am Writing a program that takes text from a JTextArea and uses the string to do things upon clicking a button. I used an ActionListener for the button. My problem is that I recieve an empty string when I try to access the text from the JTextArea … | |
Hello everyone I have created a basic chat window in that i used textarea to enter message but by default it is taking a tab i.e., initially cursor isone tab ahead instead of being at initial position of textarea . Can anyone help me?????? | |
So i'm working on this program. And long story short, I need something that will allow the user to choose the dir/file and have the system set read-only to true. Here is a piece that I worked on. Only it crashes on the system line. [CODE]try { clear; char* dir; … | |
OK, so I am redirecting the input from a file. The input is read into a string. The problem is, when the input file ends, the program still reads empty lines and goes into an endless loop. I have added an if statement for it to detect 5 empty entries … | |
Well I'm trying to make a tool for a game for learning purposes and i can't figure it out, I have Checkbox1 and a button The button saves the ini with the checkbox1.CheckState correctly and when i open it the Checkbox1.CheckState is checked so it works, but when i Delete … | |
Is there a way to grab values from a basic stamp with python? I just bought a Accelerometer and want to read the values with python. | |
Hey Guys. I cant actually think of a way to do this. Let me rephrase my question. I essentially want a perl script to run based on something that i am doing in javascript. for example: <javascript> if(x == 1) { then run the perl script. } </javascript> i dont … | |
Just when I thought I was comfortable with SQL queries, another one popped up that I can't get around with.... I'm ALMOST there but not quite. Here is the situation... I'm dealing with two tables [B]PoolTeams[/B] and [B]PlayerStats[/B] The PoolTeams table has two columns: [B]PoolTeamID[/B] and [B]TeamName[/B] The PlayerStats table … | |
I created 100 pictures boxes for my game with this code : [CODE] for (int p = 0; p <= 9; p++) { for (int o = 0; o <= 9; o++) { picsBoard[p, o] = new PictureBox(); picsBoard[p, o].Name = "emptyPicBox" + p.ToString() + "." + o.ToString(); picsBoard[p, o].Location … | |
Hi, I am looking for a way to use minimal javascript to open a popup window when the user clicks on an input field and allow them to choose one string inside the pop up window (like click on a radio button) and get the input box in the parent … | |
hello I would like to know if it is possible to store an array within a structure. For examples for recording people with more than one name. Like this: Structure Product_Reccord Dim PNames(3) as string end structure It is giving me an error, help please!! | |
I'm definitely a noob to rails so sorry if this is trivial. I have tables with associations on them. The associations are supposed to add methods to my models like model.others and model.others= and so on but when I try to use them I get errors like the following. NoMethodError: … | |
I'm creating a program that maintains a log file. The file is created at the start up of the program and appended to throughout the run. This works perfectly fine, but I went and manually added the program to run at start up in the registry. The program runs as … | |
I am using char * for getting data from the user. Now, if i just do [CODE=C++] char * data = new char[100]; cin >> data; [/CODE] The data is corrupted, i.e. only data before whitespace is stored; and the following is an example result: [CODE] enter: "Microsoft Co." data: … | |
Hi all, I'm new to this community. I am doing a project that I'd have to write a program to connect 2(at least) PCs together. each PC works as a server and at the same time as a client, which each of them can download the file which is shared … | |
Hi, Im new to java and was wondering if someone could help me with my problem. Im writing a program which will calculate how long a journey will take, the user will need to enter a character to represent what type of road/speed they are doing and how long the … | |
iam a noob at c++ and trying to learn it so go easy on me. basically i am trying to enter a some letters such as 'helody' and then check the letters it has in it and place the remaining letters of the alpahebet after it. so afterwords it would … | |
I was wondering if anyone helps me in the following case..? There're two prgs A.py and B.py A.py has two classes class x class y and class y has some print statements. I want to import 'class x' to B.py and using the following statement in B.py from A.py import … | |
First time poster, but longtime lurker. I've solved a million other problems with other threads, but this time I'm still stumped. My program is meant to take an array of dates and be able to change them, add days, and resize the array. It compiles OK, but I get a … | |
I am writing a VB.Net program in an .aspx page that searches for a particular .htm file. Once the file is found, I'd like to launch the .htm file in the client browser. Can this be done from my server-side code? | |
Hi, thats very weird..if I pass my RECT by reference notting wrong happens, bu if I pass by value, the numbers get crazy. The correct values are: {top=159 bottom=480 left=400 right=640} What I get passing by value is: {top=0 bottom=1 left=1964816 right=1058984360} This happens at the first moment it enters … | |
hey, im new here and i need help in installing vb.net express edition 2008 in windows virtual pc - win xp, i use win7ultimate anyway. When install, it goes like this. please help i badly need to run it. I have installed MSsql 2000 and 2005 in virtual xp w/ … | |
HI, i have written a j2me application using netbeans..can anybody tl me how to install this application to mobile????????????? | |
hi everyone i'm sorry i know i am asking simple questions but i really cannot understand the problem with my code here i wrote a code for the cash register ( except two buttons : clear and delete ) but it doesn't work i think something is wrong with the … | |
Hi :) Is there any way to look up a character's Unicode line number? Ex. Capital letter A's line number (hex) is 41 capital B is 42 etc. (more info [URL="http://www.utf8-chartable.de/"]here[/URL]) Or would I have to put them in an array manually? thanks :) | |
Hi Experts In VB .net form, How I can close/off Title Bar and how can set border width = 0 or close Border | |
Please help me out with syntax mistakes [CODE] fun rappend(L1,L2) if null L2 then L1 else rappend(tl(L2) @ L1, hd(L2)) [/CODE] | |
Hey guys, I'm using a Point array to transfer to my panel class that draws the image. The reason I'm using coords is because it shows where the character is in the tileset for directions Ie. (20,5) is right step facing up. anyway its coming up with null pointer and … | |
I have been working on a template class for linked list and sometimes I come across this member function: [CODE=C++] template <class T> bool DLList<T>::deleteData(T data) { ListNode<T> *temp = head; while(temp != NULL && temp->data != data) temp = temp->next; if(temp == NULL) return false; else{ temp->previous->next = temp->next; … | |
Hi, I had changed an image to string using base64_encode() function. In now want to convert this string back to an image for saving it into a folder. Please help.... Jino | |
I have four forms one --> two ---> threee -----> four I used session here... when i go from one --- > the code works good then when i go from two ----> three also works good.. but in the third page, when i click back <----- and then from … | |
i have a web in which after member login, is able to publish blog post and only logged in members can comment. Now my problem comes in notification. 1.I need after someone comment then to send notification to the owner of the post. 2.Also if other members commented on the … | |
Hi, i need to search all cells inside a dataviewgrid in VB.net starting with "www" , once i found one cell apply a background color to the complete row and get the next cell with the same String. Part of my code: *********************** [code] Protected Sub Page_Load(ByVal sender As Object, … | |
I am new to visual basic 2008 and am trying to navigate to a web site and automatically enter my username and password from within a visual basic program. Then I want to navigate to another page and fill data in various fields on the page. I can navigate using … | |
Ok, I am relatively new to Vb.net, but I am getting along. I have an application that I wish to make an updater for. The updater needs to be able to read Visual Basic code files and insert the code into the application. Is there any way to do this? … | |
I thought you couldn't run an EXE from a web page, you had to download it. How can it be that ClickOnce lets you choose online-only? Does it temporarily install the EXE on the users computer? If I want my application to run online only and I use the publishing … |
The End.