199,126 Archived Topics
Remove Filter ![]() | |
Hello all, I have a form that contains checkboxes to update a database with either "Yes" or "No" based on the user selection. The check boxes are in an array with the values set to a "LinkID" example: [code=php] <?php //find the user's assigned links $rowlink=$row_rsUpdate['LinkID']; mysql_select_db($database_mambo, $mambo); $query_rsAssignedLinks = … | |
i have DSL router with an ip address a.b.c.d i want to write a Linux script, which when executed can restart the router. Please can anyone help me out? thnx in advance. | |
Hi, I am designing a code breaker program that works out letter frequency in a text file and tries to codebreak using the frequency that letters appear in the english alphabet, however at the moment it is only outputting whatever is at the end of the decry array. Thank you … | |
Alright, so I've got a Merge Sort program working that accepts a text file, and is supposed to split the data from that one text file, into TWO different text files. This is however, just putting them into one =x Any idea as to why? here's part of my code: … | |
[code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['submit'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; mysql_select_db('administration'); if(empty($_POST['username']) && empty($_POST['password'])) { die('<div class="error_up">Both field was blank</div> <br><br><div class="footer_padding"> © Copyright Cycle Tracks <span>®</span></div> '); } if(empty($_POST['username'])) { die('<div class="error_up">Username field was blank</div> <br><br><div … | |
Good day, I have problem that i'm just not 100% to go about it or if it will even work they way in which i wish it to. My current site (article content based) has the option of the user being able to select the article he/she likes and have … | |
I'm teaching myself C++ through googling (my class has no textbook, if you can believe it) so I apologize in advance for my (probably) incorrect terminology. I want to name individual incarnations of a struct by numeric information supplied by the user. Here is a snippet: [code]int main (void) { … | |
I've posted a new article on my site, dealing with how to integrate JavaScript and ASP.NET. It's a "beginner level" article. [url]http://www.tgreer.com/aspnet_html_03.html[/url] | |
Hi all, I have two C# projects (a service and a windows form) on the same solution. I want to send some parameters to the service on click event of the service start (serviceControllr.Start() method) How can I do that. Thanks. | |
hi program to ask the user a username and a password if pass and username good display OK else clear screen and reask the user for username and password again. this will continue until good username and password entred. using while loops thanks in advanced | |
i've been developing a game for quite some time now...it will be finished soon...my only concern now is how to make my game more interesting to the gamer's eyes...so i included a video to be able to give a brief background of how the story unfolds...but the problem is that … | |
I was asked this question in an interview. Am looking for answers for this: A rectangular array of cells (say m*n) are selected in a spreadsheet (eg: MS excel). Assume that the cells contain only integer values. They need to be pasted to some location within the same spreadsheet after … | |
using System.Collections; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; using System.Data.SqlClient; using System.Data.SqlTypes; public partial class Login : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { } protected void Login1_Authenticate1(object sender, AuthenticateEventArgs e) { bool Authenticated = false; Authenticated = SiteLevelCustomAuthenticationMethod(Login1.UserName, Login1.Password); e.Authenticated = … | |
Can anybody help me with info on creating a system 5 star voting system in coldfusion or javascript. | |
Hello, I was wondering what the following error meant in Visual Studios: This application has failed to start because MSVCR80D.dll was not found. Re-installing the application may fix this problem. I tried compiling a program that I wrote and then all of a sudden I get this error. It had … | |
Hi there I am fairly new to the development side of web design as i specialise more in the graphics side of things. However i am trying to improve my development side and just needed some general advice about something or even a point int he right direction. I have … | |
I have a form that is used by say 250 employees right now but soon to grow company wide. This form has several line items listed down the page. Every few days I get several sheets in which right now I use tick marks (on a blank pcs of paper) … | |
im new to visual basic. can i know how to do a xor encrypt password using vb 2005 express? please help. im willing to learn | |
Hello guys Im working on this project were I have to make the shape of my inicials "HIP" then make the letter H rotate on its center against the clock + make it rotate clock wise around the letter "I". I also have to make the letter "P" move up … | |
Im quite new to php and mysql but ive figured out how to upload and display content from my database, but im still facing quite a lot of problems. - First how do you display an image uploaded in the database? - Second how do you make the content only … | |
Here's the problem: Ask the user for a floating point number until the user enters a negative number or zero. After each number the user enters print the highest and lowest number so far, and the average so far. Do not print the highest, lowest, and average when the user … | |
i wanna make a .com file. i mean command.com file. i m using visual C++ 6.0. i know the way to make the EXE files but dont know how could i make a COM file | |
help am a new programming student and i've got ploblem with my assignment and i need help on solving this problem. i have the question listed below for review. Coban LTD. is a loan granting facility. The company ran an advert in the national daily newspaper requesting interested applicants to … | |
i'm having a syntax error when trying to use switch condition: control cannot fall through from one case label to another... my code is [CODE]public override Boolean intersect(Shape s) { switch (s.GetType().Name) { case "RealPoint": { s = (RealPoint)s; if (!(this.gspos > s.gspos) && !(this.gspos < s.gspos)) return true; } … | |
Hey, my name is Alberto i am just starting to lear all about programming with C++ and one of my assignments is to open a file data1.txt into the program using ifstream inData where inData is the name of the variable for my file. the problem i have found is … | |
I have another question for my homework. Here is the problem: Keep inputting numbers from the user until the user enters a 0. After each number, print a "running average". That is, print the average of the last three numbers entered. Be careful how you handle the first two numbers … | |
I am currently trying to export data from a excell db to a vb.net and create some for loops so I can generate data from it. anyway I got the whole thing working apart from I cant get the list box to show all the data in the column instead … | |
Hello Friends I ran into a syntax error updating a form, I have added a comment to the line below, Please could anyone tell me what I did wrong!!!! [code]<cfquery name="update student" datasource="#Request.super#"> UPDATE student SET studentfirstname='#Trim(Form.studentfirstname)#',. studentlastname='#Trim(Form.studentlastname)#',. address='#Trim(Form.address)#',. city='#Trim(Form.city)#',. state='#Trim(Form.state)#',. studentage='#Trim(Form.studentage)#',. studentclass='#Trim(Form.studentclass)#',. studentstartdate='#Trim(Form.studentstartdate)#',. studentgraduationdate='#Trim(Form.studentgraduationdate)#',. comments= <cfif Len(Trim(Form.comments)) GT 0> … | |
Hi, I have a DetailsView on my page that connects to a SQL server D/B and shows its data.However, It is not visible on my page when I launch my browser. Any ideas or past experience with this? Thanks for reading. | |
Can anyone please explain to me the detials of what the fork command does?? Like wat is the Pid of the parent for a child created using this command.. again also it is said that it creates a replica of the currently running process what does this exactly mean?? Do … | |
I am having trouble with a piece of javascript code that expands blocks of text. For example, when you click the title, the text under it will expand. I am fairly new to javascript but it looks like the code bassically re-writes the link in the html so that when … | |
Hi Folks, My requirement is like this : How to get User Name using LDAP when my application URL hitted by user in intranet for example: Suppose Application running on my system and any person in intranet hit the my application URL , now using LDAP i need to find … | |
Hi All.. I am trying to access records and edit and save the changes .. Here is the code Private Sub cmd_edit_Click() Dim addnew As Boolean rsnew3.Open "select * from company", c, adOpenDynamic, adLockOptimistic rsnew3.addnew If text1.Text = "" Then MsgBox " enter the company name" text1.SetFocus rsnew3.Fields("text1").Value = text1.Text … | |
Hi experts this is an urgent question. how do you import and export database online? I have 2 equal database. I uploaded my FrontEnd(OPAC) and Database online. I have also a same database in my BackEnd(VB6) located in my computer. My problem is how do i update both database in … | |
hi is it possible to adjust the page width according to the output of the page so that the user doesn't have to scroll to see the end of the page? | |
![]() | Hi, I'm sitting with a weird problem. I created an application in C# 2005 Express. It has 3 timer controls in it. The first timer runs as a clock (system clock) and once this timer reaches a specific time during the day it runs its procedure (this works fine) The … ![]() |
Dear all,, I have a problem with searching and pagination... For searching i use SQL_CALC_FOUND_ROWS and Inner Join .. the problem is that when i use the $limit variable in the end of the search query.. it is not working properly... $limit='LIMIT'.($pageno-1)*$rows_per_page.','.$rows_per_page; I am giving the query below.. $query_data=" SELECT … | |
Hello, In my java class we've been asked to create a painter program that allows the user to draw on the screen (as with a paintbrush). I had no trouble creating the program and having it perform up to standards with what was asked, but something that troubles me and … | |
i have installled IIS . but when i try to open up [url]http://localhost[/url] ... it says page cannot be displayed ..... what i have to do .... i even tried with my computer name .. same error page cannot be displayed using xp pro sp2 ? what do i have … | |
Hi this is Scorpionz Can any have an idea... How to Upload image,file in PHP and store it in Database.... and How to call it to view on Front End means to my Html Page Web page.... and How to Specify Space that Uploading File size Any Help will be … | |
greetings, im writing that program that creates a 2 square matrices that need to be added. but the trick is i need to use pthreads in order to do it... for soem reason my output is just 0. Any help would be appreciated im almost done im just stuck on … | |
Hi i am developing a voting system. i want to show the result as in image. plz help me. [ATTACH]5243[/ATTACH] i am blanck. Can't think how to achive this... | |
Here are the tables in my database. [code] music ( id int(11) NOT NULL auto_increment, catid int(11) default NULL, song_title varchar(255) default NULL, artist varchar(75) default NULL, PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=1; [/code] Category [code] category ( catid int(11) NOT NULL auto_increment, name varchar(30) default NULL, PRIMARY … | |
Hi i m trying to get the values from database and put it into the select options.. i m using code- [code] <?php $con = mysql_connect("localhost","cdccpl","d123"); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("cdccpl_aus", $con); $result = mysql_query("SELECT * FROM bak_bill_cust"); while( $row = mysql_fetch_array( $result ) … | |
Hi, How to set the focus in a text box control?I want to blink the cursor in the textbox control while executing...Is there any property for this..?What is the command in ASP.NET using C#..?Thanks in advance... | |
[COLOR="Green"]admin.php[/COLOR] [code=php] <?php // connection to MySQL server mysql_connect('localhost','root',''); mysql_select_db('administration'); if (isset($_POST['username'])) { $loginUsername=$_POST['username']; $loginPassword=$_POST['password']; $MM_redirectLoginSuccess = "validated.php"; $MM_redirectLoginFailed = "admin.php"; $MM_redirecttoReferrer = true; $errors = array(); if(empty($_POST['username'])) { $errors[] = 'You think whom going to fill up the USERNAME for you?'; } if(empty($_POST['password'])) { $errors[] = 'You think whom … | |
How do i access the '\n' (newline) character in text widget? because I've a problem doing my project. I would like to ignore the character but ......... if (A2int[plain[i]]=='\n') do the trick. Any ideas? [B]KeyError: '\n'[/B] | |
Hi Frndz, My code is like this: Protected Sub LinkButton1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles LinkButton1.Click sql = "select LS from Tests_Attended where Emp_ID = " & Session("EmpID") cmd = New OleDbCommand(sql, con) ds = cmd.ExecuteReader If ds.HasRows = True Then ds.Read() If ds.Item("LS") = True Then … | |
hey everybody, I'm in an Intro to Programming with C++ class and I need help with an assignment. Is there any way to declare variables or arrays in Hexadecimal? If so, how should I do this? If this isn't possible, is there any way for me to indicate to the … | |
Can anybody tell me how can i avoid the overflow of this program? from math import sqrt f=lambda n: sum([int(i)*int(i) for i in str(n)]) L=[] for n in range(0,10**20): if sqrt(f(n))%1==0:# == float(int(sqrt(f(n)))): L.append(n) L.sort() print "Número de quadrados perfeitos na lista:",len(L) print L y= lambda L: reduce(lambda x,y: x+y,L) … |
The End.