52,566 Archived Topics
Remove Filter ![]() | |
Hi All: I needed to passed an integer value from the following code: <%=ic.getTotalNumOfRecords()%> to an attribute of a custom tag <inquiry:tableClaimHistory numberOfRecords="5" dataAction="claimHistoryViewData.do" emptyKey="error.noData"/> The function getTotalNumOfRecords returns an int. The attribute numberOfRecords expects an string. Here are the different ways I tried in a jsp page but I … | |
hi can anybody help me i need to get the data from db through php script my code is : <?php $con=mysql_connect("localhost","root",""); if (!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("poll",$con); echo "DB SELECTED<br>"; $result=mysql_query("select question from pollquestions",$con); echo "QUERY EXECUTED<br>"; echo $result ; echo "<br>DATA DISPLAYED<br>"; mysql_close($con); … ![]() | |
Hello guys, I've got my JSP set up so when I click on a href link it redirects it to a form, the form then takes in user information and has a html:submit and a html:cancel buttons. Actions are associated with these... Anyway my question is that when a user … | |
Hi, How do i check for a cookie using javascript, and then say if the cookie is found, write "this" or if the cookie is not found, write "that"? Thanks, Max Mumford. Web Development javascript ![]() | |
Hi I am having some problem, trying to cache a user control in my application(am using ASP.Net2.0). Here is a description of the user control 1. The user control is visible for most of the pages in my application. 2. It comes in only two versions. Initially one version is … | |
I currently run your typical city guide web page and for this entire post i am going to use my artsandculture page with in this page i have sub pages of museums,wine,galleries when a user clicks on museums there is a list of all the museums in html format and … ![]() | |
hi everyone, i am doing a application on datagrid containing checkbox.when the checkbox is checked ,the textbox present in the next column of the datagrid must be visible otherwise it should not.can any one help in this matter. bye Web Development asp.net | |
hello everyone, i m trying to add row in database through this code: [COLOR=green]Private[/COLOR][COLOR=green]Sub[/COLOR][COLOR=green] btnadd_Click([/COLOR][COLOR=green]ByVal[/COLOR][COLOR=green] sender [/COLOR][COLOR=green]As[/COLOR][COLOR=green] System.Object, [/COLOR][COLOR=green]ByVal[/COLOR][COLOR=green] e [/COLOR][COLOR=green]As[/COLOR][COLOR=green] System.EventArgs) [/COLOR][COLOR=green]Handles[/COLOR][COLOR=green] btnadd.Click[/COLOR] [COLOR=green]Dim[/COLOR] rowNew [COLOR=green]As[/COLOR] System.Data.DataRow = DataSet31.Tables(0).NewRow [COLOR=green]Dim[/COLOR] temp [COLOR=green]As[/COLOR] Random rowNew.Item(4) = temp Response.Write(rowNew.Item(4)) '** DataSet31.Tables(0).Rows.Add(rowNew) DataGrid1.EditItemIndex = DataGrid1.Items.Count DataGrid1.DataSource = DataSet31 DataGrid1.DataBind() [COLOR=green]End[/COLOR] [COLOR=green]Sub[/COLOR] [COLOR=green]but … Web Development asp.net | |
Hi friends I am new to javascript I came across to use that in my application Can anyone please tel me, how can i loop through the items in a listbox? Thank you all Web Development javascript | |
I want to use a slideshow on a web page, which could be implemented using either Javascript or an applet. Which on is the best option? Thanks. Web Development javascript | |
I try to print out values from datagrid on button click.I hope I shall get answer from here Web Development asp.net | |
How can I change the mouse cursor ? In certain cases, I am displaying the links without the underlines etc. When the mouse pointer is over such links (onMouseOver), I would prefer to change the cursor from the arrow to a hand. How can I acheive that ? Web Development javascript | |
I am using some common Javascript functions I wrote that are required in several pages. I would prefer to have the functions in a single .js file and link to this file from the required web pages. How do I link to such a file ? I tried the same … Web Development file-system javascript | |
Hai all, i want to create an page with menu items ...on Mouseover it ll appear and mouseout it ll disappear...pls help me to do this.... Thanks... Web Development asp.net | |
Good Morning, I'm trying to learn php, I was wondering if their is anyway I could practice the server side script on my windows xp home computer? I have a website that is on a linux server. I'm sure this has been asked many times, I tried looking, but could … Web Development php windows-server windows-xp | |
iam new in php but i am trying to do my first project maby it is small for some of you but it is big step for me : iam trying to build advrtising magzine with articals i have to join both of theme in one page the artical and … Web Development php | |
hi Ive created a simple shopping cart using arrays and a cookie. The cookie is used to store the number of orders that have been made yet, extracting that value from the cookie and using it in a loop should display all the products quantity, price and total cost...BUT THAT … | |
hi please give me some advice i have a registrar system that used for a small colleges and schools.the system now works fine but i want to enter the student grade authomatically by scanning method anyone would give me some advice or help i will appreciet it. thankes very much Web Development php | |
My first PHP-MySQL project is to build a very simple web based index for archive issues of a small independently published journal. One problem that I'm struggling with involves the detailed display for a single article for a single issue of the journal (a page that the user reaches by … Web Development php | |
Hi, How do I change the value for a field in my form when sombody clicks in that field? for example i have a field for "name" and it should say "name" in it, but when you click in it the value changes to nothing. Thanks, Max Mumford. Web Development javascript | |
I have a form on our Web site where visitors enter data. I use cfinsert to insert this data into an MS access table. Most of the time, this form works. However, I occassionally get the following error: Error Executing Database Query. Application uses a value of the wrong type … Web Development coldfusion | |
Hiya.. I have a jsp page to upload some files.. The session is used to store a Map ( session.setAttribute("filemap", filemap ) ). This map contains all the files to be uploaded. I have a file-input type, onChange the file here is added to the map. The map is stored … | |
hello everyone I am using jstl tags such as c:forEach to retrieve values from Bean through servlet ...........For some page if i put this statement (xmlns="[URL]http://java.sun.com/xml/ns/j2ee[/URL]" xmlns:xsi="[URL]http://www.w3.org/2001/XMLSchema-instance[/URL]" xsi:schemaLocation="[URL]http://java.sun.com/xml/ns/j2ee[/URL] [URL]http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd[/URL]" version="2.4") in web.xml ,i get the correct ouput & for other jsp its showing ${} values as it is like ${bean.name}.......... … | |
Hi, I am new for PHP and MySQL, plz guide me for beginning, tnx Samad | |
Hey Does anyone knows how do I replace a " (double quote) in a string with nothing I tried the following but does not work [CODE]$message = str_replace(""","",$_REQUEST['txtMessage']); or $message = str_replace("""","",$_REQUEST['txtMessage']); or $message = str_replace("\"","",$_REQUEST['txtMessage']);[/CODE] Plz help Thanx Web Development php ![]() | |
could anyone please be kind and help me with source code of a working pagination php script.thanks alot.. Web Development php | |
Hi, i have a page with pictures on it, when a user clicks on a picture 2 things happen at the same time a new window pops up and a function is called. the function does a few checks then calls another page when it calls this page i want … Web Development asp client-server javascript | |
I am trying to access an ftp server and read an XML file that I can then parse and write certain information to a database. I attempted to read the XML using Magpie but get an (HTTP Error: Invalid protocol "ftp") error when I attempt to connect to the server. … Web Development http-protocol php xml | |
I have looked high and low for a very simple script that i can use to display on a page from 6 down to 1. Basically it should start like this: "this page will redirect in 6 seconds" and end like this: "this page will redirect in 0 seconds" I … Web Development javascript | |
say i have form 1 with a method SHOWME() and i want to call this method from form 2 (seperate window) cant his be done? Web Development asp.net | |
Hello, I am working off my development machine (my home pc) and I just loaded the php-sdkfolder in my root directory and than ran php-sdk/install.php and got this message. INSTALLATION ERROR: One or more required PHP extensions is missing: openssl I am not sure where to look for a fix. … Web Development php | |
This only occurs on a single page. New command buttons dropped on the page from the toolbox will not fire and event. ?? thanks, earlofroberts Web Development asp.net | |
Hi everyone I know that some people at this site getting nervous about program request or code request for any reason but i have to did it to friday.I have no php knowledge except making php forum with macromedia dreamviewer .I have to write or find a php code that … Web Development php | |
Hello everyone! I have generated a txt file from the billing system. My problem is, whenever the transaction is cancelled the newly written data in the txt file must be erase. Is there a function that erases the content of the txtfile generated from the system? I have tried getting … Web Development php | |
hi there, i know maybe this topic has been discussed by other member, but i still not understand how is work. i hope can get more detail solution on it. i wan to do a page at the backend,when the date is end of this year(12/31/2007) then will execute the … Web Development asp | |
Hello everyone! I have a problem having loops in Php. The process is, it will take all the records in the database table through looping based on the date specified. For example the billing period is from February 01, 2007 to February 28, 2007. It will take all the records … | |
can anybody tell me how to get the values from querystring. thanx in advance to all.. Web Development ruby | |
Hi guys, well as the thread title says, i've made a search engine for a property site that uses a form to specify what to search (ie. property status, type, location, bedrooms, price). And outputs as a table. The problem is i don't know how to make the function return … Web Development php | |
I've got a client who wants their header to contain random changing images and random changing text. I have a script written that is changing images and it works great. I've also found scripts that randomize images and text. Here's the catch though, I need the text and images NOT … Web Development javascript | |
Hi All, I am getting the below error when i am trying to run my app. I am sun one app server.I have deployed my classes and jsp using the deply tool. org.apache.jasper.JasperException: Unable to compile class for JSP No Java compiler was found to compile the generated source for … | |
Hi all I have a DropDownList in in one of my web application's Page, now i want to display the contents of that DropDownList in another Page. Can someone please show me the code for this in C#. When i try to use the DropDownList in this other page it … Web Development asp.net | |
on the site [URL]http://www.israeli-weapons.com/index_vehicles.htm[/URL], see the "quick menu". I wish to have a similar component, but it should not load a new page when the user clicks on "land vehicles" or "aircraft". instead the table should expand and the sublinks of land vehicles should appear below the main link of … Web Development flash javascript | |
i only need this to work in i.e. and im sure it does but i am getting a "closed is null or not an object" exception message declared in HEAD:: [CODE] <script type="text/javascript"> function reloadwin(w){ if (w.closed) alert('window is closed') else return setTimeout('reloadwin()', 500) } </script> [/CODE] called in BODY … Web Development javascript | |
hello. i would like to know how i can use the message box ok/cancel to confirm the delete os data in the database. as javascript is clientside and php in server side hw i can do it? how i can send it to php undestand that is to del the … Web Development javascript php | |
Hello there, I've got some information which is stored in a class object, these objcts are transfered to an action in the format of a set. I'm trying to put the set into a bean into my JSP, however im not having much luck. The error is as follows: [quote]org.apache.jasper.JasperException: … | |
i want to delete a selected row from the database.the entries of database is shown by a gridview and i do <OnRowDeleting="GridView1_RowDeleting"> in source code. i select and bind as follows. [mycode] string str = "select PNR,CreditCardNumber as 'Credit Card Number',EmalAddress as 'Email Address',PassengerName as 'Passenger Name',PassportNumber as 'Passport Number',IPNumber … Web Development asp.net open-source sql | |
Hi, i want to create a website has a feature that when everyone has a Yahoo IM (login already) comes to my website, this feature know that and show their avatar in location i named it. How can i do to make it come true? plz help me. Thank you … Web Development php |
The End.