199,114 Archived Topics
Remove Filter ![]() | |
i'm using refreshhit for some random quotes pages in different DIVS, and love it; problem is, if i add html to the text in the pages: $string = "<a href=\"page\">text</a>"; echo $string; that's exactly what i'm getting, "<a href=\"page\">text</a>", instead of parsed html - can someone tell me why...? what … | |
I have a database I am creating with about 50 users over a network. There are about 6 groups of users and these users are spread across 10 branches. I want to block/allow users from particular forms and views. For example I want branch users forms to be filtered by … | |
Ok I got the code to work but with some errors. First when i print out the aorted array to the file it is sorted escept for one number in the beginning second it gives me a negative number whihc i believe is a pointer how can i fix this? … | |
Hi, I wonder if someone can advise. My website has been working great ever since i first launched it. I made a script months ago to notify me of errors like 404, 500 etc and so on and it works perfectly. Two days ago someone accessed my website and they … | |
Under what circumstances would you look to exclude pages from search engines using robots.txt vs meta robots tag? ![]() | |
Very simple code, I even echo the variables to make sure they are comming through: [PHP]<? include 'config.php'; $recordid = $_POST['recordid']; $im=$_POST['im']; $bm=$_POST['bm']; $peachtree=$_POST['peachtree']; $canapprove=$_POST['canapprove']; $cancomment=$_POST['cancomment']; $canclose=$_POST['canclose']; $administrator=$_POST['administrator']; echo $im; echo $bm; echo $peachtree; echo $canapprove; echo $cancommnet; echo $canclose; echo $administrator; echo "<p>"; $result = mysql_query("UPDATE employees SET im='$im', … | |
Hello, I am trying output number of repetion from user request. So basically there will be repetition print out of the times table when the user enter in the "Enter repetition" dialogbox. For example in the "Enter repetition" dialogbox, i will enter 2, then in "Which timestable do you want" … | |
Hey Everyone! I am writing a program for students and to keep it platform independent I have chosen to convert it to Java. Now, earlier I was using C# and with MS Visual Studio, I was able to write a plugin which would save all open ms office documents. I … | |
Greetings! I'm almost finished in creating a geometry wars like game (except that you cant move =P ). For the last few days I've been stuck doing the diagonal movement of the bullets. I wish someone could help me =D here's the constructor of the bullet class x & y … | |
Hello! Im having a problem with the following code structure. The code compiles without problems but when i start the program i get an "exception: __non_rtti_object at memory location...". In the constructor of the model-class i still can get the object information of the node-class through the base pointer. Once … | |
Hi there, I have an application with a large number of pages, often with forms, and on the master page I have a search box. When a user fills out a form, then presses enter, rather than submit the form, it submits the search. Is there any way I can … | |
Hi! I am making a project about doublepointers and inheritance. Have some small issues that should not be difficult to resolve, but I just cant get a grip of it. The task is to add two types of vehicles that have some of the same characteristics but not all. I'm … | |
Hi all, I thought it would be quicker to design using NetBeans, but now I'm finding that it's more trouble to work with NetBeans automatically generated garbage 'code'. Anyhow, I've tried to remove its automatically generated code for the frame's scrollbar but that just totally messes up the layout of … | |
Hello everyone, I have this code below and everytime I run it I get this error. Please help. [CODE]Private Sub SendEmail(ByVal sender As Object, ByVal e As EventArgs) Handles Button2.Click Email.To.Add(Settings.txtTo.Text) Email.From = New MailAddress(Settings.txtFrom.Text) Email.Body = "Email Body" Email.Subject = "Email Subject" SMTPServer.Host = Settings.txtSMTPServer.Text SMTPServer.Credentials = Authentication SMTPServer.Send(Email) … | |
Hello everyone :) I have to do a very imporant project... And I would highly appreciate some useful hints, since I have NO experience at all with VBA... (I have read a book, but just from reading and following those instructions I am not able to key my own tool... … | |
Hi there (Can DoCmd.openform allow formname from stored string value?) I am needing to vary the FormName part of the .openform based on a result looked up in another table. as I have 10 Different forms that will be specific to a certain kind of record. My code something like … | |
Hello all i am new to sql, iam having a requirement where i need to have a distinct value from the result lets say example, contacts table id name --- -------- 1 john 2 jason 3 mark address table id address conid -- ------ ----- 1 newlane1 1 2 newlane2 … | |
I'm trying to understand how static ints work within classes, and I've fallen on some code that I don't quite understand how the answers come out to be what they are showing. [code] // static members in classes #include <iostream> using namespace std; class CDummy { public: static int n; … | |
Hey guys. Im new to these forums and was hoping i could get some help. Trying to figure out how to divide a number by another number in scheme without using /. I have written these functions that i can use in creating the divide function: [CODE](define pwr (lambda (a … | |
Hi folks, having a bit of bother trying to post my values to another page using radio buttons. I have an exisiting form that I wanted to add the below code to. The form currently posts comments however I want it to post ratings of DVD's on the site. The … | |
I want to create a link to a web page into an about box and i want it to open it with the default browser.I googled it and found nothing that helps...pls a little help | |
i am a University student pursuing a degree in computer science, it seems as though i really suck at validating things... well I just don't really get the concept i know its conditions but i when i try one it always seems to crash my program I've been trying to … | |
Can some one give me some code on how to use windows.h..... im making my project, about ATM, i want to make it look good so i need some code on how the use windows header. I saw this person using a goto(x,y) code... and I saw his exe file. … | |
I have a string- 3,3,2,2,3,3,3,2,3 - Is it possible to explode it by length, such as: 1-> [3,3,2] 2-> [2,3,3] 3-> [3,2,3] | |
Hi guys, I've trapped a misbehaving app in a panel and need to zoom out to make the whole app appear inside the panel without having to make the panel larger. Anyone know how to do this? Is it even possible? Cheers! | |
[CODE]window.onload = rolloverInit; function rolloverInit() { for (var i=0; i<document.images.length; i++) { if (document.images[i].parentNode.tagName == "A") { setupRollover(document.images[i]); } } } function setupRollover(thisImage) { thisImage.outImage = new Image(); thisImage.outImage.src = thisImage.src; thisImage.onmouseout = rollOut; thisImage.overImage = new Image(); thisImage.overImage.src = "images/" + thisImage.id + "_on.gif"; thisImage.onmouseover = rollOver; } function … | |
I'm getting this error at the end of my program... [code] *** glibc detected *** ./a.out: free(): invalid pointer: 0x00617ca0 *** ======= Backtrace: ========= /lib/libc.so.6[0x684ac1] /lib/libc.so.6(cfree+0x90)[0x6880f0] /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xc986f1] ./a.out[0x804ce2f] ./a.out[0x804973d] /lib/libc.so.6(__libc_start_main+0xe0)[0x631390] ./a.out(__gxx_personality_v0+0x7d)[0x8048de1] ======= Memory map: ======== 00110000-00111000 r-xp 00110000 00:00 0 [vdso] 005fc000-00617000 r-xp 00000000 08:01 687043 /lib/ld-2.7.so 00617000-00618000 r-xp 0001a000 … | |
I have to clone the calc.exe from winxp and i'm stuck.I'm new in c#. The problem is that I don't know how to get the next number when i press " + ",I take the first number from the textbox but after that I don't know how to read the … | |
I am trying to use C# after using VB for a while. The problem that i am facing right now, is resizing things. In VB i would use the following: [code] Private Sub TextBox_Resize() handles mybase.sizechanged 'change the size of the text box when the size of the main control … | |
Hi, I would like to know if I could do this: if i were to enter 5 numbers, it would go like this: 5 4 3 2 1 I want to know if I can do it like: 54321 Basically I don't want the insertion to go to a new … | |
I'm attempting to write an application that searches for and displays optionally sized strings made up of optional characters (both determined by the user) from a file (of any type). The goal is to have said strings displayed in a listBox control. I'm fairly new to C#, so through this … | |
i'm using matlab for image correlation. in my program i have to read 15 or 20 images one by one and correlate them with the 1st one, i.e. at first image2 will be correlated with image1, and then image3 will be correlated with image1, and then image4 will be correlated … | |
I have 2 problems: First one is I want to put an user name password in a form...I have designed the table and database and I'm fetching the user names from a table and putting them in a combo box, from the combobox i select the required user name to … | |
[CODE]#include<stdio.h> #include<string.h> int main() { int i; char line[100]; char line2[100]; printf("Enter some lines : "); scanf("%[^\n]",line); printf("2:"); scanf("%[^\n]",line2); if((i = strlen(line)) >= 80) { printf("%s",line); } if(strlen(line2) >= 80) { printf("%s",line2); } getchar(); return(0); }[/CODE] the main aim of making this program is that it will input 2 lines … | |
Output: Enter name: Ferrial P. Esber A - 1 B - 1 E - 2 F - 1 I - 1 L - 1 P - 1 R - 3 S - 1 Space - 2 Please reply ASAP, thank you very much | |
Good day, I am a freshmen student in need of some help. I have created an ATM program. This program has text files created for the withdraw transaction, deposit etc. It is like a database program for me. First of all, I would like to know how to compare strings … | |
I have a piece of code which is used by several aspx.cs pages and I want to put that code in a separate page so that all these pages access that separate page. I dont think i can use classes for this.... | |
[CODE]#include<stdio.h> #include<string.h> void reverse(char str[]); int main() { char str[100]; int i; printf("Enter to reverse : "); scanf("%[^\n]",str); reverse(str); return(0); } /* Function */ void reverse(char str[]) { int i; for(i=(strlen(str));i > 0; i--) { printf("%c",str[i]); } putchar('\n'); } [/CODE] in this programme when we input 123 output = 32 … | |
Hi I am testing to write a contact list program. I store the information regarding name, Organization name, tel no and e-mail. When I select the read command, it shows all the organization name, e-mail in the list. It is all ok so far. I want to write the program … | |
i want to print textbox contents at a coordinate in C# when user click a button on form.But i don't know code,please help me! Thank you so much! | |
hi; I find probleme is that the result of run not be saved in the file ; the second things that I m very sad because I work for 2 weeks and I can't up to now to do the programme; the programme is; we have class called A in … | |
Hi guys I need help with my project I want to write a java code that determine if an expression is tautology or not e.g. P v Q -> R note that: v is or -> is implies i need a help how to start? do i need a truth … | |
ok so i'm trying to set up my program to insert a new record to my database i keep getting a insert syntax error [CODE] Private Sub btnAdd_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnAdd.Click '************************************************ '* ** '* will first verify that all necessary information needed ** … | |
Hi, I have a PHP application that stores sales transactions into database tables, etc - and we have decided to use this as an online service - which makes it great for the client. They aren't computer literate and their computers mysteriously die and disappear. Having off-site data and no … | |
hi i wonder if any one can help i have to write a program in java were there is a server and client, what has to be done is that a number is entered on the clients side, which then goes to the server and if the number matches then … | |
hii..i have a toolbar which i hav designed in a form..the problem is thatthe code isnt working...i have used screen.activeform in a select case..i think isnt fully correct..plz do help me out.. | |
This is the program i'm trying to develop. It's not an assignment or anything. I'm just a newbie trying out new stuff. But I'm getting frustrated with this. [CODE]#include <iostream> using namespace std; //========== struct ========== struct nodeType { string song; int rating; nodeType *link; }; //------------------------------------------------------------------------------ //========== function ========== … | |
Hi - here is my code - it is for searching what i have done as u can see is - for every results the CP_ID is hyperlinked and opens up to the edit page. but no value gets passed. what i want is when a search result appears i … | |
Hello, i have to create a java program that calculates a polynomial, kinda. the key question i have is i dont understand what this is asking me right here, and if i am understanding it right, why is it not working? this is what it is asking me Create a … | |
Hi! I have following problem. I need to select multiple random rows in DatagridView with keypress. Ex: Row1 -selected Row2 -not selected Row3 - selected I do have part of code that will update certain field in database on keypress, but i have no idea how to create multiple selection … |
The End.