52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for guravharsha

Hi, In main.jsp i wish to display the data from the database( user information stored in user table ). my codein main.jsp is: [code=JSP]<h2> description about user:</h2> <% Statement st = null; ResultSet rs = null; rs = st.executeQuery("Select description from user "); %> <option value = "<%=rs.getString("description")%>" > </option>[/code] …

Web Development apache java-jsp mysql
Member Avatar for peter_budo
0
114
Member Avatar for Andina

I am having difficulty setting my computer up in order to do JSP. Some people are telling me to use Jakarta others are saying Apache Tomcat. When I try to find the things to download there are so many options with little or not tutorials accompaining it. Could someone provide …

Web Development apache java-jsp
Member Avatar for peter_budo
0
92
Member Avatar for guravharsha

Hi All, I had created application where once you log in into index.jsp page, the next validateuser check for validation. but when i fill the form of username and password the error shows like: [COLOR="Red"]The requisted resources are not available[/COLOR] Here my context.xml [code=xml]<?xml version="1.0" encoding="UTF-8"?> <Context path="/student" docBase="student" debug="5" …

Web Development ide java-jsp session xml
Member Avatar for stephen84s
0
187
Member Avatar for ishlux

Hi all, Can i know how to do the checkbox validation........ i used the code below but its not validating..... [code] var val; for(i=0;i<3;i++) { if(form2.elements['contype[]'][i].checked) val=1; } if(val==0) { alert("Select type of your Contract") return false; }[/code]

Web Development javascript
Member Avatar for Thirusha
0
67
Member Avatar for Kavitha Butchi

Hi all, Instead of passing the variables to the other page and coding mysql queries there.. Is it possible that we can use the mysql(DELETE...) query within the anchor tags in the same page? <a href >... to delete a particular row in mysql table? Like having a link called …

Web Development mysql php
Member Avatar for Kavitha Butchi
0
538
Member Avatar for anjalis

I am trying to connect my login page to an access database. Right now I am simply storing the values inside the database .I am having trouble connecting to the databse itself. Below is the code that I have written using VBScript. What am I doing wrong? ...Thanks in advance …

Member Avatar for vicky_rawat
0
97
Member Avatar for pranav_jog

I have a user control dropdownlist, and its intended that when a user selects any item from dropdownlist , then accordingly image is displayed on the same form. My problem is, when i select once from dropdownlist then , the page is going through the page_load and after clicking again …

Web Development asp.net
Member Avatar for tuse
0
109
Member Avatar for tuse

I have an online exam system in which after the test, the result is displayed in a new asp.net page. If he clicks on the 'back' button on the browser, he gets back to the page which displays the test again. What I want to do is disable the user …

Web Development asp.net
Member Avatar for serkan sendur
0
141
Member Avatar for adaykin

Hello, I have the following code, with 6 rows in the database for my query, although the mysql_fetch_row function is only able to get 5 out in my web page. I'm not sure what is wrong with my code, here it is: [CODE] $connection = mysql_connect("my server", "user", "pass") or …

Member Avatar for antwan1986
0
231
Member Avatar for fayenot

hi.... I have a gridview with rows of info which does not go into edit mode. A user clicks a checkbox which picks that item and adds a Unit Price What i need to do is when a user clicks on a button, it should scan through the gridview for …

Web Development asp.net
Member Avatar for greeny_1984
0
210
Member Avatar for chriscapetown

Hi. This is a piece of code that I wrote for a one of my modules in Joomla 1.5, and im afraid im not skilled enough yet to do this procedure in the correct way.. Please can someone help me structure this code in the right way - the actual …

Web Development perl php
Member Avatar for digital-ether
0
211
Member Avatar for kelechi

I Need Scripts To Enable Me Develop A Web Based Database Driven Application Form,with Interactive Features

Web Development
Member Avatar for einfoway
0
94
Member Avatar for php_azar
Member Avatar for R0bb0b
0
96
Member Avatar for jakesee

Hi there, I'm quite new to AJAX and need some help on a peculiar firefox behavior regarding forms submission. I have have an input field ...<td id="ajax_field"><input type="text" name="hobby"></td>... I am adding an option to change this <input> to <select> if the user wishes to choose from a list instead. …

Web Development javascript
Member Avatar for jakesee
0
149
Member Avatar for imranrizvi

dear friends, if anybody have id or source to read all tags in given aspx file and store them or replace them with other tag, please reply. Thanks in advance Imran Rizvi

Web Development asp.net
Member Avatar for imranrizvi
0
99
Member Avatar for dips255

I have a form on which there is a textbox for entering mobile number. Below this I have a check box saying 'Verify number' on selecting which user gets sms for validation code. Now on the update panel I have to show the textbox for mobile in readonly form and …

Web Development javascript
Member Avatar for adaykin
0
112
Member Avatar for grr

I'm making a virtual pets script. Example of problem: User 1 creates a pet named "PET". User 2 creates a pet named "PET". Should be: User 1 creates a pet named "PET". User 2 creates a pet named "PET" but gets an error saying that the name is already taken. …

Web Development php
Member Avatar for grr
0
90
Member Avatar for devin.lawks

I have a php-based form mailer tied to a rather lengthy service order form, and was wondering if there was any effective way to manage the output from the form mailer so it's all laid out in an easy-to-read structure, like a table, perhaps? If I need to clarify at …

Web Development php
Member Avatar for antwan1986
0
131
Member Avatar for adaykin

Hello, I want for the user to be able to click on a button that lets them add a <tr> full of <td>'s and <input>'s in the <td> tags. So I have code like: [CODE] <script type="text/javascript"> function addRow() { // Insert a row too the table with td's and …

Web Development javascript
Member Avatar for adaykin
0
131
Member Avatar for ChrisJ

Can you tell me which part of this code is the Input Box(browse box field) and the Submit Button, please? Thank you. [CODE]<%@ Language=VBScript %> <% option explicit Response.Expires = -1 Server.ScriptTimeout = 600 %> <!-- #include file="aspupload.asp" --> <% ' **************************************************** Dim uploadsDirVar uploadsDirVar = "C:/Documents and Settings/TAinput/" ' …

Member Avatar for Lorand24
0
150
Member Avatar for Loki421

Hi all!!! This is my first post here so please feel free to move if it's in the wrong place :-) Ok, i am just starting out in web development, and i have created a data entry form in DW CS3 and succesfully link it into MySQL (big deal for …

Web Development coldfusion html-css image mysql
Member Avatar for cmhampton
0
191
Member Avatar for dave_nithis

Hi all, Can anyone explain how to parse a html file at the client side that we got as a response from the server? Please provide me good websites for doing this task. Thanks in advance. Dave. :)

Member Avatar for kceleb9
0
71
Member Avatar for devisrimari

I have implemented tree structure where I get the following error :'( Error: document.getElementById(treeid) has no properties Iam not able to correct. Without correcting the error the code works fine, but i have to execure under jquery. And jquery will not accept any error codes. Please help to resolve this …

Web Development javascript
Member Avatar for kceleb9
0
91
Member Avatar for adaykin

Hello, I was wondering if there would be a way I could generate elements dynamically using something like this, where qtyElements is an array of all the elements that start with qty. [CODE]var qtyElements = document.getElementsByName('qty*'); for(var i = 1; i < qtyElements.length + 1; i++) { // var name …

Web Development javascript
Member Avatar for ~s.o.s~
0
141
Member Avatar for tanha

Hi. I have two forms with the following names and properties: 1. register.php --- ----- action="register-exec.php" --- method="POST" 2. register-exec.php --- action="register-exec.php" --- method="POST" After submitting the register.php, I used session in register-exec.php to store the value of the register.php for later use as follow: [CODE]session_start(); $_SESSION['bookTitle'] = $_POST['txtBookTitle']; $_SESSION['bookInfo'] …

Web Development first-post php session
Member Avatar for tanha
0
118
Member Avatar for ishlux

Hi all, i tried this code but its giving error fatal error: Call to undefined function equals() in D:\xampp\htdocs\demo\contractor_new.php on line 152 [code=php]<?php include 'database.php'; if(category.equals("sercategory")) { $result = mysql_query("SELECT * FROM service_category "); while($row = mysql_fetch_array($result)) { echo $row['servicec']; echo "<br />"; } } else { echo 'error'; } …

Web Development php
Member Avatar for ishlux
0
131
Member Avatar for Rockout101

I have started a new website and I know basic HTML but I am clueless with PHP. I need to set up a login system where members can save their info on the site. I need to learn PHP, cookies, and a login system. Thanks.

Web Development php
Member Avatar for cwarn23
0
105
Member Avatar for cwarn23

I have been working on a php login system which is basically finished but needs one thing cleaning up. When the session is created/registered, a cookie is created. And according to firefox, the cookie will expire when the session ends. However, the session ends (according the the rest of my …

Web Development php session
Member Avatar for nav33n
0
6K
Member Avatar for Besherek

Hi folks, I have a small Paging problem, was wondering if anyone could help me out with. I have a blog that I need to page after a set number of blogs. The Next and Previous links work fine and so does the Page number Nav. However, my page number …

Web Development php
Member Avatar for Besherek
0
343
Member Avatar for Kavitha Butchi

Hello All, I have this strange problem .. I am using require function twice in a single program to call two different programs.Each one of them has their own database connections. The page doesnot execute completely untill I hit refresh.:-/ It works as if those functions are executing one-after-the-other while …

Web Development php
Member Avatar for Kavitha Butchi
0
144
Member Avatar for scru

Take a look at this page: [url]http://tejerodgers.com/[/url] and type four or more characters in the search box on the right. My problem is the div box that pops up. I'm only getting the behavior I want with Firefox. in Opera and in IE the page widens to fit it. What …

Web Development javascript
Member Avatar for scru
0
100
Member Avatar for shadowrider
Member Avatar for Designer_101
0
81
Member Avatar for adaykin

Hello, whenever I try to call this function, web developer plugin for firefox gives me a message that says: "Error: addRow is not defined Source File: [url]http://localhost/xampp/Aptana/index.php[/url] Line: 1" Here is my code: [CODE] <script type="text/javascript"> var k = 7; function addRow() { var rowItem = document.createElement('input'); newRow.setAttribute('type', 'text'); newRow.setAttribute('name', …

Web Development javascript
Member Avatar for adaykin
0
126
Member Avatar for saquib189

Hi, i have formview control in my page and on that i have two textboxes and button in it which display at runtime. i declare the button event in my aspx.vb [code=asp.net]Protected Sub insertbutton_Click(ByVal sender As Object, ByVal e As System.EventArgs) If Not Page.IsValid Then Exit Sub ' Determine the …

Web Development asp.net open-source
Member Avatar for a496761
0
103
Member Avatar for PatMcCrackIt

hi everyone.. I honestly don't know if this should be in the php forum section but here it goes. I am trying to create a fansite for a band and i would like to have all of their lyrics on my site. I do not want to create a new …

Web Development php
Member Avatar for nav33n
0
264
Member Avatar for 1andyw

My isp web server is separated into ‘www’, which parses php, html, etc; and ‘private’ which does not parse. What are the practical limitations of placing files in the private section. I am setting up a content management system for off campus work. Anyone know of a decent tutorial or …

Web Development php web-server
Member Avatar for alphaseinor
0
169
Member Avatar for enim213

here's what i already have, whenever i click a specified letter like for example 'A' it must print out and count how many countries starting with that letter. The problem is whenever the count is greater than the specified limit, when i clicked to page 2, it shows also countries …

Web Development html-css php
Member Avatar for enim213
0
106
Member Avatar for neha.99n

hi, i have to create 1 jsp page containing 2 radio buttons-buy,sell if i select "buy"radio button,it should display 2 jsp page containing drop down menus if i select items from drop down list,click on "submit" button it should dispay another page. can u pls send me the code for …

Web Development java-jsp
Member Avatar for masijade
0
150
Member Avatar for andy_aphale

Hello guys and girls, My self Anil and i m a BCA 3yr student. in this semester i have subject named HTML so i want some good ebooks on HTML in which the method of connecting to database ( specialy sql) is included. i.e how to connect database to the …

Web Development javascript
Member Avatar for andy_aphale
0
83
Member Avatar for bnamevln

Hi All, Can you help me solve my problem. I am new to ASP.Net programming. In my job i have to create a Login Page which checks Username and Password with the SQLServer 2005 database and validates.

Web Development asp asp.net
Member Avatar for oriname
0
227
Member Avatar for kbinoyn

when i login in two different browsers with two different login username, then refreshes the second login page. it displays the older one username of the other browser in which i first logged in.

Web Development asp.net
Member Avatar for sierrainfo
0
85
Member Avatar for bob82

Is there a place where we can evaluate our jsp page code is in accordance with the sun "jsp coding standards"?

Web Development java-jsp
Member Avatar for peter_budo
0
65
Member Avatar for isomillennium

Is there a way to allow the php tags with the strip_tags() function ? i've tried strip_tags($text, '<?>') and strip_tags($text, '<? ?>') but it doesnt work .. any help would be appreciated thanx ..

Web Development php
Member Avatar for isomillennium
0
92
Member Avatar for OmniX

I have been reading books and articles and I have seen various mysql functions (mysql_query, etc) being used inside php functions and those php functions be called everything the php programming requires a query, etc. So what do you think are the best practices, etc? Thanks, Regards X PS: I …

Web Development mysql php
Member Avatar for nav33n
0
71
Member Avatar for FerrumBat

Hi, I'm struggling to get a relatively simple PHP/MySQL script to work. Basically, I've got two tables populated with entries from a database. PHP ver: 5.2.6 apache ver:2.2.9 Mysql ver:5.0.51b However I'm getting errors on the second table: [QUOTE]Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in …

Web Development apache php
Member Avatar for nav33n
0
174
Member Avatar for donnie_darko

Hey All, i'm having real trouble with this. ok, i have a login page where the user logs in. they put items in the cart and then go to addorder from to place order in database. only problem is i can't get it to work. i think the problem is …

Member Avatar for greeny_1984
0
214
Member Avatar for chriscapetown

Hi, I have a select like below in my form, I want a second box to populate but differently for each activity. I would like to do this by means of something like this (case method really).. Any help would be much appreciated.. been struggling with it. Thanks alot, Chris …

Web Development php
Member Avatar for matudustrauss
0
133
Member Avatar for swefil2008

I need a routine for printing out to pre-printed paper forms. We recently had a programmer install in our office software written in php , and to be used locally through localhost on our pc, mysql, php and apache2.2 all installed, the software is working well, however we have a …

Web Development php
Member Avatar for casper_wang
0
149
Member Avatar for seangdy

Please help me corect my code. I want to insert image into mysql with php but it can't. my code wrote as below: Table: CREATE TABLE `TblClothes` ( `ClothesID` int(11) NOT NULL auto_increment, `ClothesName` varchar(100) NOT NULL, `Description` varchar(800) NOT NULL, `Colour` varchar(100) NOT NULL, `CSize` varchar(100) NOT NULL, `Price` …

Web Development php
Member Avatar for casper_wang
0
145
Member Avatar for aparnesh

Hi Friends Till now, I have been coding my PHP files mainly in Notepad. I had used a few PHP IDEs earlier, but were not satisfied. I found them too cumbersome and some were quite unstable. Now it's becoming rather tedious to edit in Notepad. So I am looking for …

Web Development ide php
Member Avatar for casper_wang
0
118

The End.