52,566 Archived Topics
Remove Filter ![]() | |
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] … | |
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 … | |
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" … | |
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 | |
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 … | |
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 … Web Development asp microsoft-access open-source vbscript windows-server | |
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 | |
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 | |
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 … Web Development mysql php user-interface web-server | |
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 | |
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 … | |
I Need Scripts To Enable Me Develop A Web Based Database Driven Application Form,with Interactive Features Web Development | |
[B]is it possible to submit a page without using a form[/B] Web Development php | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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/" ' … Web Development asp file-stream html-css javascript vbscript | |
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 | |
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. :) Web Development client-server html-css javascript | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 … | |
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 | |
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 | |
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. | |
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 | |
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 | |
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 | |
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 … | |
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 … | |
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 … Web Development asp asp.net email first-post javascript microsoft microsoft-access open-source session sql | |
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 | |
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 | |
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 | |
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 … |
The End.