199,113 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for mugojoe

My web host recently updated their version of PHP and some of my code is no longer working. I created a band website that stores news items in a MySQL database. I created an update page (news.php) where the band can log in and add, update, or delete news. I …

Member Avatar for shadiadiph
0
228
Member Avatar for amer.m

i'm making a web application based on jsp i wan't a code that when a button clicked, take value from textbox and insert its value into mysql database pool maybe the sql stmt only isn't right my code is: [CODE]<form id="form1" name="form1" method="post" action="http://localhost:8080/servlet/mailservlet"> <p>&nbsp;</p> <table width="100%" border="0" cellspacing="0" cellpadding="0"> …

Member Avatar for peter_budo
0
142
Member Avatar for whiteyoh

Evening all, Please could somebody take a look at the following form. Im calling [code]<?php if (isset($_POST['submit])){echo "clicked";}[/code] but its not registering. The only difference is that this is the first time ive used the "image" type. any help would be appreciated [code] <form method="POST"> <table width="468" border="0" cellspacing="0" cellpadding="0"> …

Member Avatar for rajarajan2017
0
112
Member Avatar for BastienP

Hello Dear DaniWeb community Here I am again, with a new problem :-) For those of you that are reading every post you probably have already seen that I'm trying to implement an auto-extracting process which extract data from ActiveDirectory, process it in order to make a filtered csv file …

Member Avatar for mitchems
0
1K
Member Avatar for jmangu

Please, someone explain me why when I compile this code in Dev-C++ (Windows OS) the following error message apears: 'clrscr' undeclared (first use this function) int main() { int c; char d; clrscr(); printf(" Example program for PSC232 \n"); setup(); printf("*IDN?\n\r"); send("*IDN?\n"); printf("RECEIVE...\n\r"); loop: receive(); goto loop; } ps: ignore …

Member Avatar for jmangu
0
2K
Member Avatar for rajabhaskar525

hi all, i am new to php. i want know about how to import contacts from yahoomail,gmail, orkut, facebook, xing,..........like. if anybody know about these. help me. share with me. ........

Member Avatar for muralibobby2015
0
184
Member Avatar for idontknow19

[B]Im stuck on how to display 5 integers in ascending order.i only have the idea to input 3 integers.what is my lacking to my code.Can you figure it out.thank you so much.hope you gonna help me[/B][code]import java.util.*; public class ascendingorder { static Scanner console = new Scanner(System.in); public static void …

Member Avatar for javaAddict
0
1K
Member Avatar for muthukumarangms

Hi, I am trying to run a installer file that is compiled in python 2.5 on fedora 10 to the new upgraded python 2.6 on fedora 13 while trying to run the installer file this error occurs RuntimeError: Bad magic number in .pyc file The pyc files are compiled in …

Member Avatar for muthukumarangms
0
3K
Member Avatar for OmniX

I have a starting base and I had the idea of using an array name similar to the checkboxes where you would use checkbox[] and let it repeat through a for loop, in this case file[]. But when I go to access it via $_FILES['file[$index]']['name'] it errors. I think there …

Member Avatar for dhwaniparikh
0
257
Member Avatar for lisles

I have 5 textboxs, 1 button and 1 Gridview control. I just want that when I click the button, text of each textbox will be added in the Gridview in separate column. Each time I will click the button, a new row must be inserted in the Gridview below the …

Member Avatar for hirenpatel53
0
145
Member Avatar for pritesh2010

can any one tell me how to get the seleted submenuitem value of menu in textbox. like foe eg this is my menu Home Course -Commerce -Science i want when i select science in menu control then textbox should me the Science. any one help me i'm apppriciate. :) thank …

Member Avatar for pritesh2010
0
360
Member Avatar for whiteyoh

Hi All, the following script works fine and updates with no issue, except on, wait for it..... Internet Explorer!!!!! Any advice would be appreciated. [code] <html> <head> <script type="text/javascript"> function showUser(str) { if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlhttp=new XMLHttpRequest(); } else {// code for IE6, …

Member Avatar for liamfriel
0
109
Member Avatar for sajidk25

Hi every on.I new in php.I m trying to insert date from 3 dropdwon to my date table.It is working well but in table the date is showing always 00-00-0000.plz any one give me a solution.My scripts are followings: [CODE]//table -- Table structure for table `date` -- CREATE TABLE IF …

Member Avatar for cwarn23
0
93
Member Avatar for adobe71

How to find the difference between system time and user input time in the format [hh:mm] in millisecond.

Member Avatar for arqtan
0
116
Member Avatar for rayda

hi there. i m trying to write codes for new user to fill in the form, then the new data will into my database,however, my codes doesnt work, i cant figure out what's wrong with my codes. below are my codes: [CODE]Imports System.Data.OleDb Public Class NewUser Inherits System.Web.UI.Page Protected Sub …

Member Avatar for rayda
0
143
Member Avatar for cbtetech

Hello and thanks for any assistance, I wrote this basic script to batch make test forms for a side project. In its current state it works fine and I can pass file names to it no problem. It will take the form embeded in the code and create 10 additional …

Member Avatar for TrustyTony
0
328
Member Avatar for yossi321

Hi How can I protect/lock a drive from deleting files and format it ? Is there a way to hook a drive?

Member Avatar for yossi321
0
75
Member Avatar for insanely_sane

Ok so I dont think I have installed ANY compiler for C++ on my Windows Vista system. So I would need info about that as well. Anyhow. Just like java can be run using javac and then java w/e w/e... how do I run my .cpp notepad files via the …

Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for sohaibroomi

Hi, I'm trying to take a print on a Continuous Paper through a Thermal Printer ZP 2844 using Crystal Reports 2008 along with Visual Basic .NET 2008. I've set the page size to 3.00 inches as width & 3.00 inches as height. It prints well when the contents are a …

Member Avatar for Oxiegen
0
833
Member Avatar for Smalls

k, what i'm trying to do is create a windows service to run in the background to monitor [URL="http://www.vmware.com/products/player/"]vmplayer.exe[/URL] to see if it is running or not. then if it is running, then turn on the various hardware, software, and services it needs/uses to run, and if it is not …

0
213
Member Avatar for deeptakshd

in my web page i am having different hyperlinks for letter a to z and now i want to display all the details in gridview of the names starting with particular letter in my db table on clicking of hyperlink.. plz help its urgent..........

Member Avatar for Abdul Rouf
0
120
Member Avatar for Denxerator

Dim FILE_NAME As String = "C:\test.txt" How could I make the C:\test.txt's "test" become the text in textbox1's text? E.g. textbox1's text = "kenneth" then the C:\test.txt becomes C:\kenneth.txt

Member Avatar for AndreRet
0
231
Member Avatar for shena

Hi all, How to create refresh Button in the form? I have combo box with the data linked to Access database. I create another form for data input for those that appear on the combo box. When I close the input form, I realise that the data is not yet …

Member Avatar for AndreRet
0
278
Member Avatar for suryakantb

Most of the times we have requirements of adding different client side validations on the web pages and the easiest way to achieve this in ASP.Net is to use the existing set of validator controls. In SharePoint when we design custom webparts which takes some data as input, we might …

Member Avatar for suryakantb
0
207
Member Avatar for Totte94l

Hello! I would appreciate if someone could convert this code from VB6 to VB.net. [CODE]Option Explicit Private Declare Function GetWindowThreadProcessId Lib "user32" (ByVal hWnd As Long, lpdwProcessId As Long) As Long Private Declare Function OpenProcess Lib "kernel32" (ByVal dwDesiredAccess As Long, ByVal bInheritHandle As Long, ByVal dwProcessId As Long) As …

Member Avatar for GeekByChoiCe
0
576
Member Avatar for darelet

Guys, Why do we have these unresolved externals? This is the second time I am meeting them, and I'm sure it is a common problem. I've defined all the constructors including a void constructor just for the sake of (I don't actually need it). Pray tell where the error is: …

Member Avatar for darelet
0
165
Member Avatar for vivek01anand

#define prn(a) printf("%d",a) #define print(a,b,c) prn(a), prn(b), prn(c) #define max(a,b) (a<b)? b:a main() { int x=1, y=2; print(max(x++,y),x,y); print(max(x++,y),x,y); } output:222342 pls explain how we get output 342 at end

Member Avatar for lionaneesh
0
131
Member Avatar for Merlin33069

Ive looked through google and a few other places, searching for how to calculate the pixels you would need to fill in a 3d space to draw a line, circle , sphere or anything really. Ive always been good with learning math, i just need somewhere to learn it from …

Member Avatar for adams161
0
267
Member Avatar for k2k

trying to call an external ajax function to exec the php script to update a table. it is somehow not working.. it is my first time programming in ajax, please point it out if there is anything obviously wrong. thanks. [code] <html> <head> <script>myAjaxFunctions.js</script> </head> <body> <button type="button" onclick="clearT1();">Clear TableOne</button> …

Member Avatar for Graphix
0
464
Member Avatar for fussballer

Hi, I am working on a small program (in Windows) to control the Speed of a CD Drive. So far I have used some of the IOCTL_CDROM_... and IOCTL_STORAGE... Control codes to control the drive by opening/closing it etc. I have now developed a small piece to also control the …

Member Avatar for wisaacs
0
521
Member Avatar for comsci2

can anyone help me about this error. "Invalid attempt to call metadata when reader is closed". Thnx in advance. [CODE] Public Sub DisplayCust(ByVal lv As ListView) If cnSQL.State = ConnectionState.Open Then cnSQL.Close() cnSQL.Open() cmd = cnSQL.CreateCommand cmd.CommandType = CommandType.StoredProcedure cmd.CommandText = "sp_DisplayCust" Dim param = New SqlClient.SqlParameter param.ParameterName = "@cust_no" …

Member Avatar for hirenpatel53
0
126
Member Avatar for abu taher

I made a querie with 2 table. both of 2 table have date fields. the querie also have this both of date fields with other fields. so all data show in a each line. like name | address | date this 3 fields in table1 Roll | Class | date …

Member Avatar for vb5prgrmr
0
376
Member Avatar for upstream

Hey guys, I was working on embedding image using the object tag with quicktime. i was succesfully embed it [COLOR="Red"]but it seems like i cannot display the playback controls (like "play","pause","stop" etc)[/COLOR]. Here's my code: [CODE] <object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="478" height="383"> <param name="src" value="movie.mov" /> <param name="autoplay" value="false" /> <param …

Member Avatar for upstream
0
117
Member Avatar for shubhamjain1

I am thinking to make a PHP library for better syntax of PHP (in functions). Currently I feel that its too clumsy and unorganised. There are many functions without any use and many useful functionalities can be added to older ones. Like instead of learning all GD functions for common …

Member Avatar for Jothe
0
97
Member Avatar for maria_mj

I have a problem. In my page, there have 3 gridview. Every gridview has sub total displaying at its footer. I am able to display the sub total for each gridview at its footer. But, i want to display one more total that is grand total. The value for the …

Member Avatar for rohand
0
264
Member Avatar for jlhwebgal

Hello, I am using this script to rotate background images and it is working great HOWEVER we would like to control the order of the rotation and I am just not sure how to modify this code to do that? I have looked and tried several options but I am …

Member Avatar for fxm
0
141
Member Avatar for Designer_101

Hi Is there any way using PHP to delete everything in the public_html directory? Or even better everything on my server? Im trying to impliment a backdoor into one of my websites as Im working with another developer I really don't trust much. Thanks

Member Avatar for digital-ether
0
133
Member Avatar for nikesh.yadav

I m working on advertise website for that i need to select random values from the database so please help me Thanx in advance

Member Avatar for anupam294
0
131
Member Avatar for MrBlack

i have created two winforms ,first from take a value and pass it into the second form and display on a label, but when i run the programme it throws exception form 1 [CODE] private void button1_Click(object sender, EventArgs e) { Form2 fm2 = new Form2(this.txtName.Text); fm2.Show(); } [/CODE] form …

Member Avatar for MrBlack
0
90
Member Avatar for sadhawan

Hi Guys, I want to store the values of regex.match in an array but i am getting error. my code is as follows [code] string[] subj = null; for (int f = 1; f <= dir.Length; f++) { Match o = Regex.Match(txt1, "section_title='(?<TITLE>.*)'"); subj[f] = o.Groups[1].Value; } } } [/code] …

Member Avatar for kvprajapati
0
695
Member Avatar for dalip_007

I want to select a single column from a table but cannot use "mysql_result" query. is there any other way to output the data of that specific column? Thanks in advance.

Member Avatar for vaultdweller123
0
70
Member Avatar for bgreer5050

How do I add a capital 'N' to the end of my loop so if the user clicks N or n then we will not continue?: [CODE] do{ }while (con!='n'); [/CODE]

Member Avatar for mrnutty
0
37
Member Avatar for jzlonely

I am very new to vb 2008 and have create a simple window forms application which link to microsoft access 2007 database. I build the application exe file already. The exe file is run well on my computer, but when i transfer it by copy and paste the whole folder …

Member Avatar for jzlonely
0
4K
Member Avatar for maria_mj

I want to retrieve session value(username) from the login page. I have to verify the user by their username to make the access right control for certain page. In my application, i want to control the access right to "ViewAllProject.aspx" page. I have save the username in session in login …

Member Avatar for maria_mj
0
235
Member Avatar for mohamedhassan

hi.. i'm trying to load a file with .pgm extension on picture box ... i really need help .. so .. any help here??!! :(

Member Avatar for jonsca
0
532
Member Avatar for Andreas5

Hello, i have a question to the people who already have read chapter 7-4 in this book. This example is driving me crazy! :x [CODE]typedef vector<string> Rule; typedef vector<Rule> Rule_collection; typedef map<string, Rule_collection> Grammar;[/CODE] So, this would without typedef be like this: [CODE]map<string, vector< <vector<string> > > >;[/CODE] But, why …

Member Avatar for Ancient Dragon
0
143
Member Avatar for UtaChan

I got a question that most likely will appear in tomorrow's test Well the problem is I have a physical adress of 12345h and I need to get something from there into some variant at the size of 1 byte, not that it matters...the thing is I dunno what to …

Member Avatar for tesuji
0
163
Member Avatar for MDanz

I am passing data from a textarea to a div with javascript. The problem is the div is ignoring line breaks. [code] document.getElementById('layer1').innerHTML = document.getElementById('reply').value.replace("\n", "<br /><br />"); [/code] e.g... i entered this in the textarea test1 test5 test6 the result was in the div test1 test5 test6 the div …

Member Avatar for fxm
0
107
Member Avatar for SnakeJam

I am trying to make a program that lets the user create objects of a class UNIT which are then stored in a list. I was able to get that to work, but now I want the user to be able to find a specific UNIT in the list by …

Member Avatar for SnakeJam
0
122
Member Avatar for shadiadiph

Still trying to get my head around some simple javascript issues the following works in php but not in javascript can someone point me in the right direction obviously my code is wrong. [code] if((dobyear==false) && (dobmonth==false) && (dobday==true)) { return 'noyearmonth'; } [/code] thanks

Member Avatar for fxm
0
136

The End.