17,029 Solved Topics
Remove Filter ![]() | |
Hi All, I am new to jsp. I need to know how to execute certain code on a button click(submit). my form has a text box and a submit button. Onclicking it, it has to execute a SQL query and then forward the control to another jsp page. Where to … Web Development java-jsp | |
Is there a shorter way to include multiple email addresses as text in ASP. I'm trying to call txtEmail from HTML file, then the strTo is a variable of txtMail. How would I do it? Is it possible to include multiple email addresses when I type in as: Constr strTo … | |
Hello, I am again asking for help. Is it possible to get the text from the elent ID into another place in the page. For example, is it possible using asp to get page title from <p id='title'> in the code below? <HTML> <HEAD> <TITLE> nothing </TITLE> </HEAD> <BODY> <p … Web Development asp | |
Hello, I am new at programming and would like to know is it possible to pass a chunk of html code (more than one line, a whole table, for example) as an asp variable? I have looked through a lot of tutorials and could not find a clear answer. Thank … | |
I wrote a program that makes use of the System.Timers.Timer name space and it is not working like expected it to. My program listed bellow excepted two date values and determined if one date is greater than the other by using the DateTime.compare method. If one date is greater than … Web Development asp.net | |
quick question, I am a newbie, first with this site, and with programming. this is my first semester and I am learning the basics. I am having a problem with Javascript. this simple code is supposed to just create a web page with the tile , my name and then … Web Development javascript | |
Having a strange problem with some PHP code. This code: [code] $filename = "/u2/text/TOPAShiftlog".$dateString."_AShift.rtf"; [/code] writes the file TOPAShiftlog2007-10-26_AShift.rtf to the /u2/text dir. I want it to write 2007-10-26_AShift.rtf to the /u2/text/TOPAShiftlog dir so I tried this: [code] $filename = "/u2/text/TOPAShiftlog/".$dateString."_AShift.rtf"; [/code] This code ends up removing my "submit" button … Web Development php | |
Ok this may be a stupid questions. Is there a way to make a dynamic form? For example, if I wanted to create a form that took a users birthday, how do I make it so it would change the number of days in the month to correspond to the … Web Development php | |
Can someone please help me figure out what I am doing wrong here? It is supposed to find the checkboxes per dataitem and see if that specific dataitem needs to be deleted. And if it does, to delete them all after adding it to one SQL statement. Please look below … Web Development asp.net | |
Hello, I need to access the database when a session unexpectedly ends or session times out. This is just for telling the database to update a field for when the user last logged in. The reason I need this is that it saves me tons of coding for other stuff … | |
Hi I would like to know if it's possible to delete a row from a database by selecting it from a drop-down list and hitting the submit("Delete") button. If it is could you help me out with a bit of "code and description" or a link please. Much appreciated ;) Web Development php | |
Not sure if this is a PHP or a MySQL problem...I am pretty new at both. Basically I have a .php form that is writing data to the db just fine and most of the data is saving back to the .php file fine. I have several "text" boxes that … ![]() | |
Dear all, I allow users to hit enter in my TextArea control (for address). The value is saved to SQL table. I show data in child form in GridView. If users click GridView row, will display in parent form. I get problem with address because it contains vbCrlf and JavaScript … Web Development asp.net javascript | |
Need source code for the following: when you select a particular entry in the DropdownList, the other details of that entry should come in the datagrid. also there should be options for edit,update and delete the records from the datagrid. Code Behind: C# Database: SqlServer 2000 Web Development asp.net | |
Hi. I want to create a program for LIBRARY, I faced to problem on depositing book section (Giving book to someone), in this section there is a combo which should contian the books name, maybe we have from one book two, three (Quantity), if one of them given to some … Web Development php | |
hi. i wonder if someone could check this script for me and tell why it isn't producing any results. here is the code: [code=php] <?php function ShowMyFiles() { // vars global configuration global $dbConn, $theme_path; // vars messages global $msg; // vars template global $error_msg, $status, $files, $owner, $test, $paginated; … Web Development php | |
Dear all .Netters, How do I show icon printer in ReportViewer ASP.Net form for my Reporting Services Reports or how to print it to papers ? Regards, Kusno | |
I am trying to get a value from a stored procedure: [code=SQL]SET @RowCount = @@RowCount IF @RowCount = 1 BEGIN SET @Ret = 1 PRINT 'Insert a success' END IF isnull(@RowCount,0) = 0 BEGIN SET @Ret = 2 PRINT 'Insert a failure.. Terminating Proc...' RETURN END[/code] I should be getting … Web Development asp.net | |
Dear all .Netters, I get problem with these controls, DropDownList, CheckBoxList, RadioButtonList. Sometimes, i add item into those controls manually. Example : DropDownList1.Items.Add ("JAKARTA") DropDownList1.Items.Add ("LONDON") DropDownList1.Items.Add ("BOMBAY") DropDownList1.Items.Add ("BEIJING") If i use this property, DropDownList1.SelectedValue, it returns "JAKARTA", If we bind it using DataReader, we find these properties DataTextField … Web Development asp.net | |
Hi there I started a thread about this in the MySQL forum about this ([url]http://www.daniweb.com/forums/thread93312.html)[/url]. Basically I don't know what my db table design should be like in order for me to sort the dates from most current to latest date. The format is as follows: DD Month YYYY eg(05 … Web Development php | |
i've seen various threads about this same problem (at least i'm not the only one:D), but the most recent post is from 2006, so i wouldn't like to revive a long dead thread... :P i've installed Apache 2.2.4, and PHP 5.2.3 for Windows 32 i'm working on Windows XP... my … Web Development apache php windows-server | |
I need help with the following page: [url]http://www.nemesisproject.com/sisemenproject/index_dev.html[/url] When the splash image loads and a user clicks on it it should fade out. I want the file folders that then appear to appear in the center of the page and stay there. However, currently they appear where they are supposed … Web Development html-css javascript | |
Howdy all, I'm making an authentication script using sessions variables, but the varible seems to disappear when trying to access it from another page. A simple form on the home page takes a user name and password, it then goes to an authentication page. The authenticate page is making a … | |
[COLOR=red]Hello everybody;[/COLOR] [COLOR=red]I want to color a text gradually by PHP[/COLOR] [COLOR=red][/COLOR] [COLOR=red]Explain: I want to color each letter with a color, like:[/COLOR] [COLOR=red][/COLOR] [COLOR=red]Hello: H=green e=red l=blue (And repeat) l=green o=red[/COLOR] Web Development php | |
Hi all. How do you get values from an appended url string using JSTL? For example: redirect.jsp?pageid=23 -how would i get that value? Thanks. Web Development java-jsp | |
Hello, I need to remove letters and characters from a request.querystring in order to convert it into an integer. This is only extra precaution from people screwing around in the address bar directly. I have enough protection in place to protect errors. Let's say that I want to retrieve a … Web Development asp.net | |
plz tell php4 featurs and php 5 featurs and what are they explain them. Web Development php | |
Hello Everyone, I was trying to figure out why this particular mysql_query() doesn't return false and how to deal with it. First of all, I have a table (call it table1) with only one row in it. The one row has a 2 in the user_id column. So when I … | |
Hi guys, I wrote: [CODE] <?php $WACnt=33; while($WACnt>=0) { require("Wordsarray.php"); $enn=preg_replace("/".$normal[$WACnt]."/i",$tidied[$WACnt],$enn); $WACnt--; } ?> [/CODE] The browser said: [B][QUOTE][B]Warning[/B]: Unknown modifier 'g' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Compilation failed: nothing to repeat at offset 0 in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] [B]Warning[/B]: Unknown modifier 'b' in [B]e:\appserv\www\chat\chat\Rooms_Func.php[/B] on line [B]223[/B] … Web Development php | |
I am trying to alter some SQL to use parameters. I bypassed this earlier as it was just not working but am now heading back to tidy up. For some reason I cannot get this to work, keep in mind I am using Odbc: [code]SQLString = "SELECT * FROM Stories … | |
I am new to JSP and am having trouble with an if statement. [code=jsp] <c:if test="#{authorizedProduct.product.product.orderMethod}=='H'"> <h:outputText id="orderMethod" value="#{authorizedProduct.product.product.orderMethod}"/> </c:if> [/code] The order method does equal H because it will display that if I don't put in inside the if statement. Can someone help me with my if statement syntax … | |
Hello everyone, I have an issue that I can't seem to resolve with integrating phpBB into the rest of my site so that login and session can be intact. Well, for the most part, the whole scheme seems to work at first glance. I noticed that pages that have the … | |
I don't know the correct term to use in the title. It's been ages since I've messed with XML, and I don't use it in any professional way, nor am I headed that direction. (Before during and after this question, I will be searching [url]http://www.w3.org[/url] and other sites.) My question … | |
I have retrieved a value from a query and need to put it into the Label called "lblViews". Every way I try, it says there is no instance for this object. How do I write/set the text of the label to the query I retrieved in the Page_Load method? Thanks. … Web Development asp.net javascript | |
Since I have not found a way to add values into the header of my repeater, I was forced to use literals or a new DataList/Repeater. I only need to display a name and an ID in a header for a datalist, but cannot seem to make this happen! So … | |
I just finished a php MySQL query. Everything is great, except the date column doesn't format correctly. The date output looks like this: 1175114705 The date column prints from: echo $row['createdTime']; Ideas? Thanks. | |
Here is the code I am using now. What I have is a datalist that pulls DateofBirth and Dead values from the database. The Dead values only equal Yes or No, but will later equal 0 or 1. I cannot seem to figure out how to do an if statement … | |
I have a device control panel that consist of a veiw and settings buttons. the buttons are binded to a dataset that populates the devicenumber and deviceUID I have a javascrip function [code] function gotoGeo(username, name, duid) { top.main.location.href="../TrackApp/main.aspx?selectedTab=" + selectedTab + "&deviceName=" + name + "&deviceUID=" + duid; } … Web Development asp.net dataset javascript | |
I have a device control panel that consist of a veiw and settings buttons. the buttons are binded to a dataset that populates the devicenumber and deviceUID I have a javascrip function [code] function gotoGeo(name, duid) { var username = document.getElementById('txtUsername'); top.main.location.href="../TrackApp/main.aspx?selectedTab=1&deviceName=" + name + "&deviceUID=" + duid + "&username=" … Web Development dataset javascript | |
Can someone please help me with this problem? I have tried many examples, but none of them work correctly. I am creating a guestbook for my website, using ColdFusion 8. The guestbook works great as far as adding new entries to the database and displaying them. The problem is trying … Web Development coldfusion | |
I have been using the asp:Menu control for a while now but have only just started to use images with it. When i click and navigate around the site it works fine but the problem is that when i click the link for the same page that i am viewing … | |
![]() | [code] <?php $smtp_server = "mail.webhostasp.com"; $port = 25; $mydomain = "domain.com"; $username = "info@domain.com"; $password = "password"; $sender = "info@domain.com"; $recipient = "no-one@domain.com"; $subject = "Test"; $content = "Bla bla bla"; // SMTP connection $handle = fsockopen($smtp_server, $port); fputs($handle, "EHLO " . $mydomain . "\r\n"); // SMTP authorization fputs($handle, "AUTH … Web Development php ![]() |
Hey, I've taken over a php based website from another developer (ugh!)... The website uses two include files to display ads down both sides of the page. Now the client wants these ads to display in Random positions.... So, Its easy enough to take the ad text and place it … Web Development php | |
I want to construct a web page with language flags. The user clicks his flag and the web page is then displayed in his language. In VB6 I would achieve this with a resource file. Does HTML, PHP or CSS have something like that or must I create a web … ![]() | |
Hello, I have 2 different websites/domains on 1 IP. The problem is that whenever stuff is uploaded, it displays in both sites. Example: site_1.com/page.php = site_2.com/page.php I created a directory for each site. Example: site_1.com/site_1 and site_2.com/site_2 . I want to create a script that resides as the index of … Web Development javascript | |
Hello guys,does anyone here know how to make tabs with php?Could you please post some tutorials or links for this? Thanks.. Web Development php | |
I need to figure out how to bind data and call it back anywhere on the page. Basically, this is what I am trying to do. Keep in mind that I am an asp programmer and am very new to ASP.NET. I have build a custom login page that works. … | |
I want to create an application which passes a text message to a server trough an ssl port I couldn't use curl and I need to encrypt using public key. I expect anybody to help me. Thanking You Web Development php |
The End.