199,114 Archived Topics
Remove Filter ![]() | |
Wasn't sure what to put as the title, but what is happening is this: I have div elements on a HTML page, when they click on the div it is replaced with a textarea containing the div contents in order to edit this (eventually there will be a form/submission button … | |
HI, I am Using VB 6, how do I sent data over the internet to an SQL DataBase | |
[code] Computer::Computer() Computer::~Computer() void Computer::setspeed ( int p ) [/code] what is this 3 sentences mean? what is the purpose we use it? i have asked my friend but still a bit blur. pls help.thanks. | |
I'm getting the above error for the following code. Can anyone see what it is? Is my date formatting off? [code] $get_topics_sql = "SELECT topic_id, topic_title, DATE_FORMAT(topic_create_time, '%b %e %Y at %r') AS fmt_topic_create_time, topic_owner FROM forum_topics ORDER BY topic_create_time DESC"; echo $get_topics_sql; $get_topics_res = mysql_query($connection, $get_topics_sql) or die(mysql_error($connection)); [/code] … | |
Hi everyone, I am facing such type of warning is coming in php file.How it can be resolved . I have also used session_start() function in php file as a first line in php code. I have used it just prior to sending output to browser.But still warning is coming. … | |
Hi, I need to set a text feild value unchangable after a user enter first time. I dont want to use it's "readOnly" attribute as it let's the user to select the text. Thanks Regards, | |
hi from where can i add quality news on my site....i mean i have made a website where i want to display quality news and some cool contents(optional).....from where can i get it free.... | |
I found 2 new scripts, here they are: [url]http://hot.ee/antsman333/scripts/script1.zip[/url] and [url]http://hot.ee/antsman333/scripts/script2.zip[/url] The script1 is more stylish than the script2, but it displays the directory files with the same icon.. How could I combine these scripts together that the script1 shows the icon according to filetype like script2? how script1 looks … | |
hi i have problem , rhe code is working properly on local machine but when i upload it on net then it give the warning [COLOR="Red"][B]Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /home7/wyzerpmc/public_html/wyzer/survey/survey.php on line 22[/B][/COLOR] [code]<html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> … | |
[code] Static x As Integer = +TimeLbl.Left Static y As Integer = TimeLbl.Top Static width As Integer = TimeLbl.Width Static height As Integer = TimeLbl.Height If DateTime.Now = "08:00:00" Then Timer1.Enabled = True With Me x += 0.6 If x <= +.TimeLbl.Width Then x = .Width End If .TimeLbl.SetBounds(x, y, … | |
Hi, I have a VB6 program that uses several ADO Recordsets to connect to an Access database. In one part of my program I have code for adding a new meeting (uses the meetingRst recordset). When the new meeting is added I requery the meetingRst and populate a ListBox detailing … | |
Hi everyone I have a list box called tc_id I have populated this list box with values from teh database. Now i want to fetch values from the database into two text boxes based on the selection made in the listbox. | |
Hello, I'm creating my first website using master pages and asp.net. As part of this project, I need to display a random banner image at the top of each web page. Let's say i have an "images" directory with image1.jpg, image2,jpg, image3.jpg and image4.jpg. In the past, I have used … | |
I have a field validatior on my page. but i noteces if i press the submit btn 2 times the validator does not stop the process. have any one have a problem like tihs? and how to solve it. Thakns [CODE] <tr> <td > <div class="buyIt_Titles2"> <asp:RequiredFieldValidator ID="RequiredFieldValidator1 runat="server" ControlToValidate="txt_BillingCity" … | |
Sorry been out of commision for a few months. Got a newbe question. What value is returned from an sql query that returns no rows? Example: [code=php] $a = "SELECT * FROM a WHERE b = c"; $b = my_sql_query($a); [/code] Note: Table Name - a Table Field - b … | |
Hello, I just had a midterm and there was a question where we had to right a program which can calculate all the numbers which form quadruplets. A quadruplet would be x^3+y^3+z^3=a^3 The program should only run till a<25 also, 0<x<y<z<a at the end we had to output how many … | |
Hi, Does anybody know how can I return the time format from the system regional settings ? I need something like "hh mm ss" returned ( or whatever the current system time format is) to pass it as argument for FormatDateTime() function along with a given time; I`m using Delphi … | |
ok this is a really basic question but I just can't seem to wrap my head around it. The basic syntax of how to open a file and check it and whatnot makes sense to me. But how the compiler reads from the file doesn't. For example if I have … | |
hi frnds.. [CODE]var headline = document.getElementById("headline"); var content = document.getElementById("content"); var data = "headline=" + headline + "&content=" + content; xmlhttp.open("POST","newspost.php",true); xmlhttp.onreadystatechange = handleServerResponse; xmlhttp.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded'); xmlhttp.send(data); [/CODE] i post data in this way... n the next page i need to retrieve data .. [CODE]$d=$_post['data']; echo $d;[/CODE] output is combination … | |
Ok, so I decided to try and write a simple chat bot. To start, I made it so he will scan the string that you input, and see what emotion you have. (this is just the base, eventually he will read verbs and such) So, here is the code... [CODE]#include … | |
I have looked all through the open gl website and i cant fine where to download the SDK? can someone give me a download link? i am using c++ btw | |
Write a program that calculates the value of x using these two formulae: w = (22102 * -12)/(18 – 3) x = (12032/w) * (2354 + 34) Use the properly-sized signed or unsigned operands as appropriate. Demonstrate that your answer is correct by using the debugging software to walk through … | |
I am writing a program that will take input and find whether or not the number you put in is prime. The program works fine, save for one small problem: [code] #include <iostream> using namespace std; int main(){ int num; //the chosen number int i; //potential factors do{ cout<<"Input a … | |
Hello! I am working on a project in VB.Net .I am Making use of two forms, which consist of a form called Project .It has a Button which is called New Employee on the form itself.When I click this button, I want that this link me to the Employee form.I … | |
can i include this [code] <? require('inc_rate.php'); getComments("1"); submitComments("1","$PHP_SELF"); ?> [/code] in a php file but display at certain location at the html file. i tried it to paste the way it was but gave me an error so i did like this [code] require('inc_rate.php'); getComments("1"); submitComments("1","$PHP_SELF");[/code] it worked but … | |
Hi guys, I wonder if any of you can help me with my problem.... I am trying to write a script that searches a file that describes a grid of letters, like: [code] wergfdghytr bhgiusuwiee popeldorlfse funwrdtywa [/code] The script uses another file for a word list, where each line … | |
![]() | Hello everybody I am doing a little code to learn a bit more about C++. Do not be amazed if you find that code useless, it is mainly just for me to improve. :) This is my first C++ program and I started few days ago... [/I]One class is used … ![]() |
Hello, I got the following code from someone and have tailored it to fit my needs but I have a problem. The first menu populates from my MySQL database. However, when the first menu is selected, the second menu will not populate with the correct information. Zero is the only … | |
hi everyone..... how to create a c compiler using c language.... can anyone explain the steps involved..... thnx in advance | |
I am interested in finding out how I can build a website using Coldfusion and an excel spreadsheet. I used to work for a company that did this and i am now looking to see how to do it. No geekspeak here: I know that the Coldfusion would take the … | |
Can anyone help me figure out what I'm doing wrong. I'm new to programming and for my class we had to modify the program so that it reads its input from a text file and the output of the program should go to the screen -- only the input is … | |
Wrote this max min problem. The output however gives me the correct max but not the correct min. It simply returns 0 for the min everytime. Any ideas what I need to fix? [code] #include "stdafx.h" #include <iostream.> #include <conio.h> using namespace std; int main() { const int NUM_DAYS = … | |
Hi, In PHP page, Code below always returns TRUE even no record is updated. How can i solve this problem? Thanks [code] $q="UPDATE login SET password=SHA1('$newPassword') WHERE id='$loginID' AND password=SHA1('$oldPassword')"; $run=mysql_query($q); if ($run===TRUE) { echo "SUCCESSFUL"; } else { echo "ERROR: Old password is wrong. Please try again."; } [/code] | |
Hello Everyone :) I bet you have heard this about 1,000,001 times, but I am another individual who is interested in learning programming. I am currently a business major with a concentration in MIS. I have web site and graphic design experience, I have been developing static HTML web sites … | |
I need help with python programing, i finished the first part of my project ans some of the second part, but im really confused about the part where i have to group an entire file into its constituent months and then calaculate the averages. I know how to calculate the … | |
Is there a way one could automate daily maintenance task on the website? The maintenance task could include a number of things: cleaning up database, updating the website and so on... | |
Hi, I have a report that generates personalized letters. How can I attach these personalized letters (in PDF format) to their corresponding e-mails using MS Access 2003? Please help. Thanks. ilokana | |
Okay, don't laugh. I'm [B]very[/B] new to python. Actually to programming all together. I'm doing an exercise where i have to count the number of a string in a word. Ex: count("is", "Mississippi") would be 2. I tried using string.find and was having no luck. So i tried to go … | |
Hi all, I'm trying to figure out the runtime complexity of an algorithm I created. I narrowed the basic problem down to two nested sums. However I need the Big O notation of this problem. I converted the formula into the following nested loops. I have the feeling that this … | |
Hi folks. I'm getting back into learning Python after a few months off, so I'm still a newbie, hehe. I'm using the free online book Dive Into Python. I ran the first program and it worked just fine, but it returned the output in the opposite order of the one … | |
Hey all, I'm new to C++ and struggling to write a program. I am used to writing in VBA and Mathlab but because I need to run a long run simulation have to rewrite my program in C++. What a am trying to do is if I have a list … | |
Hi, I am trying to pass parameters to my program, but I can't seam to get it to pass specific parameters. I want it like [icode]"C:\Age of Empires III Launcher.exe /x=agex.exe /y=agey.exe /z=age.exe"[/icode]. How would I go about doing that? I can't find a good tutorial on it. Thanks. | |
I have a sql table consisting of dept_name and dept_code.and on the form i have textbox for dept_code and combobox for dept_name.When i select a particular dept_name from the combobox i should get the corrosponding dept_code in the textbox. | |
Hi,i done a menu with mouseover using javascript.In IE5 it is coming as hai ramu in IE7 it is hai.downside ramu is coming | |
Hey all, I'm new to C++, much more at home with mathlab or VBA so this is probably a simple problem for you guys. I am writing a program and I want to change values at the end of loop but keep answers from previous loop, i.e. in other programs … | |
Hello 1 and all I have created a stored procedure for table X. X contains the fields B,C,D,E,F,G. B is a primary key with data type int. I am giving the stored procedure as follows: [code]Create Proc [dbo].[spXSelect] @B int=null as Begin If @B is Null Begin Select Ident_Current('X') as … | |
The following is a code that my teacher gave me .. I dont know the working of files in c++ :( this program is supposed to copy a datafile into another.. but its is not working ... many many errors.. fname1 and fname2 are already existing files,right? or fname2 is … | |
Hi everyone, I'm trying to convince my boss that using normalisation is the best way to design a database but he's a hacker rather than a coder and he's taking some convincing. If we take the typical Staff\Department scenario as an example (where it would be possible for a new … | |
Ive got a MySQL search, which searches an index of urls. The search parameter searches titles. What I want to do is have something like Google. So, if someone searches: [CODE]site:example.com something to search[/CODE] It would look for example.com in one column then from those results it would look for … | |
I just finished another assignment and I can't figure out why this none keeps appearing after you enter a language: [code=Python]while True: print"Hello, how are you?" language=raw_input("Pick a language: french, german, hungarian, dutch: ") if"french"in language: def function(): print"Bonjour, comment allez-vous?" elif"german"in language: def function(): print"Hallo, wie geht es Ihnen?" … |
The End.