52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for IsaB

Hi, I am new at this... I am trying to display data from a text file to a JSP file and I'm using BufferedReader to do this but having problems getting to the file. Which directory should I put the text file? Should I add anything to web.xml to reference …

Web Development apache file-system java-jsp xml
Member Avatar for parry_kulk
0
565
Member Avatar for ajwei810192

Hi, I am wondering what I might be doing wrong here regarding getting the XML Attribute of my xml file, here is a snippet: [CODE]<music_songs> <song> <title>(I Just) Died In Your Arms</title> <date added="03-24-2009" /> </song> </music_songs> [/CODE] Here is my code, [CODE]<%@ Import Namespace="System.Data" %> <%@ Import Namespace="System.XML" %> …

Web Development asp.net xml
Member Avatar for ajwei810192
0
134
Member Avatar for tuomari

I'm trying to populate datagrid with only 5 newest results from access database. I have tried using TOP 5 parameter but for some reason it gave 5 last results and not 5 newest. And if i put order by desc, it would show the newest, but the newest result was …

Web Development asp.net
Member Avatar for mikev2
0
99
Member Avatar for ajwei810192

Hi, I have written up this simple asp.net page that pulls data from a long xml file and shows information in a table format. Everything is working properly, except that I cannot get the scrollbar to work. So, if I want to read the stuff that is on the lower …

Web Development asp.net html-css xml
Member Avatar for ajwei810192
0
315
Member Avatar for tta013

Dear all, Hope you are well. I have just created a page which list a resort name and all the fitness clubs that are available in that resort. I would like to register the clubs that are being ticked into a table as separate rows. The table name is called …

Web Development php
Member Avatar for sourcebits
0
83
Member Avatar for jv143irish

Howto pass a textfield value to a pop form? I need to pass the value so that the drop down box on the form would autopopulate the items related to that value in the textfield. I'm using PHP. any help please?

Web Development php
Member Avatar for jv143irish
0
276
Member Avatar for mr webster

Hi Guys, I was hoping to get some help from any of you asp.net experts in getting an issue im having when trying to convert asp page to asp.net. I used a converter that reports the convert had no errors. Error happens at 105 Here is the code [CODE]<%-- Generated …

Web Development asp asp.net web-server
Member Avatar for mikev2
0
326
Member Avatar for cacoyle

hi guys having a problem getting a single value from a mysql query getting all sorts of problems - heres my latest version below [code=php]mysql_connect($host,$user,$password) or die( "Unable to select database"); mysql_select_db("mydatabase"); // select database to use. $user = 84; $sql1="SELECT `order_id` FROM `table1` WHERE `user_id`= '$user'"; $array = mysql_fetch_array('$sql1'); …

Web Development mysql php sql
Member Avatar for cacoyle
0
101
Member Avatar for cloud09

While attempting to use my forum posting system, I received a mysql error that said to look for the correct syntax to use around '' on line 1. I attempted to reproduce the error but was unable to do so. Any ideas on what cause this and how to prevent …

Web Development mysql php
Member Avatar for tiggsy
0
76
Member Avatar for Wobbie Wobbit

Hi this is my 1st post here. I am trying to integrate a wordpress and bbpress. They were sharing same database, using the user info correctly and working fine apart from I wanted to get it so that users were logged into the other automatically, and have been looking online …

Web Development php wordpress
Member Avatar for Wobbie Wobbit
0
149
Member Avatar for eswaramoorthy

Hi, I have problem in rich:hotkey when using JQuery i have used rich:hotKey for h:inputText in my jsp page. And also i wrote jQuery for get the textBox value. When i use jquery, that time rich:kotKey not worked [CODE] <%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="http://java.sun.com/jsf/html" …

Web Development java-jsp javascript-jquery
Member Avatar for eswaramoorthy
0
230
Member Avatar for needanswer

This program: edit select delete id etc. (outside under gridview) textbox1 textbox2 addbutton cancelbutton [CODE]] <asp:GridView ID="GridView1" runat="server" AllowSorting="True" AutoGenerateColumns="False" DataKeyNames="id" BackColor="White" BorderColor="#999999" BorderStyle="None" BorderWidth="1px" CellPadding="3" GridLines="Vertical" > <RowStyle BackColor="#EEEEEE" ForeColor="Black"/> <Columns> <asp:TemplateField ShowHeader="False"> <EditItemTemplate> <asp:Button ID="Button1" runat="server" CausesValidation="True" CommandName="Update" Text="Update" /> &nbsp;<asp:Button ID="Button2" runat="server" CausesValidation="False" CommandName="Cancel" Text="Cancel" /> </EditItemTemplate> …

Web Development asp.net open-source web-server
Member Avatar for dnanetwork
0
110
Member Avatar for ajwei810192

Hi, I wonder if anyone has tried to have multiple subroutines in ASP.NET and have one call the other. For example, if the first one is called message(), and second is login(), if login() tries to call message(), how do you do that? Or, is this not a common practice …

Web Development asp.net
Member Avatar for Freon22
0
121
Member Avatar for cthoes

Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 455 Warning: Cannot modify header information - headers already sent by (output started at C:\php\xampp\htdocs\db_login.php:9) in C:\pear\pear\Auth\HTTP.php on line 456 Access Denied [CODE] <?php // Using Auth_HTTP to limit access require_once('db_login.php'); require_once("Auth/HTTP.php"); …

Web Development encryption php
Member Avatar for cthoes
0
79
Member Avatar for johnpaul007

I need to append my excel sheet to my existing mysql table with data. Can someone guide me here and explain the code as to how i should do it. I am getting a syntax error when i do this.

Web Development php
Member Avatar for diafol
0
66
Member Avatar for ms_sws

I would have "thought" it would be a simple thing to get the (unformatted) text in each cell of a dynamic table but I have failed to solve this problem. So...I have a table that the user can dynamically load with data. They click an add button to insert a …

Web Development javascript
Member Avatar for ms_sws
0
2K
Member Avatar for tech.b

hey buddy i read this code of urs on one of the threads my concern is tht i need to to atore the data form each row in the table into an array..... or a srting..... could u please help me with this??? <script type="text/javascript"> # function showContent() { # …

Web Development html-css javascript
Member Avatar for samaru
0
167
Member Avatar for rahul8590

I recently herd the buzz about JSON and stuff was also saw the coding style , but still i am not able to appreciate it . Well i am working in python web framework (not Django) and also using templating language. when i wrote a program to just to add …

Web Development javascript json python-django
Member Avatar for samaru
0
193
Member Avatar for Odubz

Hello, I was wondering does anyone have an idea how to make a dropdown menu that dosent repeat values from the SQL Server? Perferably using a while loop. I was thinking of camparing the set values with the new values as it loops through them but im not sure. -Thanks

Web Development php sql
Member Avatar for Odubz
0
158
Member Avatar for Mrgrinch12

I have been struggling with these two pages for awhile. I have one page with a form which shows different data depending on who is logged in. There is one drop down adjustment field that the users between "Active" and "Bench". The submitted form should be updating that field in …

Web Development html-css php
Member Avatar for Mrgrinch12
0
116
Member Avatar for baudday

I would like to start development on a web application but really have no idea how to do it. I like to think that I am pretty well versed in PHP, but feel like my coding practices are off. What I would like to know is, what is "the best" …

Web Development php
Member Avatar for baudday
0
154
Member Avatar for markg1978

Hi, I have script below that scans a folder and lists the contents into a drop down box. What I want to do is then select the file and press the delete button. Which removes the file from the folder. I do realise you can use unlink to remove the …

Web Development php
Member Avatar for amac44
0
118
Member Avatar for needanswer

I have a gridview with access and built with "select","edit" & "delete", the outside under gridview with the "add","cancel" buttons. details: select edit delet id name etc. Textbox1 Textbox2 add cancel ALL THE BUILT SELECT,EDIT,DELETE WRER WORKING, ONLY THE "ADD" BUTTON WAS NOT WORKING. So, I rebind the gridview with …

Member Avatar for dnanetwork
0
106
Member Avatar for umair.sabri

how to restrict the page to be browsed in the other browser with the same urls with out logging asp.net & c#.net.

Web Development asp.net
Member Avatar for dnanetwork
0
141
Member Avatar for ajwei810192

I have a ASP.NET snippet where I would like xsl to apply to the xml. For some reason, I get runtime errors when I use TransformFile to try and transform the xml. Here is the aspx, <%@ Import Namespace="System.Data" %> [CODE] <form runat="server"> <asp:Repeater ID="myMusic" runat="server" DataSourceID="XmlDataSource1"> <HeaderTemplate> <table class="songs"> …

Web Development asp asp.net xml
Member Avatar for dnanetwork
0
208
Member Avatar for ritika_khanna

i am doing online railway reservation project in vb.net. i want to know when i click on one radiobutton of trainno and then after clicking on submit button it display corresponding routes from database. i am using oracle as backend.please tell me urgently.

Web Development asp.net oracle vb.net
Member Avatar for kvprajapati
0
106
Member Avatar for gym_shorts

I am having a problem with URL redirection using a mail submission form. The form is working and sends the mail successfully, the problem lies when I try to redirect the user to a thankyou.php page using header('Location: http://whatever.com/thankyou.php'); When the form is filled in and submitted, the mailform.php page …

Web Development php web-server
Member Avatar for riaver
0
3K
Member Avatar for loveforfire33

Hi, im making a application and am stuck :) the page has 3 radio buttons, if the user has selected one i want the page to go to page2.aspx if the user hasnt selected one i want an error message to be displayed (lblErr) and no navigation to happen. im …

Web Development asp asp.net session
Member Avatar for dnanetwork
0
117
Member Avatar for andydeans

Hi, this is probably a simple one for someone, but i have on my page a button rather than a text link. when they click cancel i want it to back to my details page but pass the parameter id back. so currently it is like this [CODE] <input type="button" …

Web Development php
Member Avatar for andydeans
0
119
Member Avatar for Jimmy Giles

Okay, I'll admit up front that my request is quite presumptious but I need help. Can anyone here 'give' me the necessary php script to be inserted in my html 'form' that would allow me to accept credit card donations? Additionally, could you also provide me with the mysql database …

Web Development first-post mysql
Member Avatar for peter_budo
0
330
Member Avatar for ekseks

Here is a sample of our project which involves counting votes, the problem is that we implemented a pop-up window thus clicking a submit button to be able to vote (which is in the pop-up window) well what our problem is that we need to increment or rather add +1 …

Web Development html-css javascript
Member Avatar for ekseks
0
149
Member Avatar for deepika.5301
Member Avatar for sachin singh
0
66
Member Avatar for fankoff

Hallo guys, I want to first start by saying, that I`m fully aware the question I`m about to ask, has certainly already been posted some thousand times. I`ve looked through some of the posts, but non of them was quite like my case (or I just didn`t stumbled upon any) …

Web Development html-css java-jsp
Member Avatar for peter_budo
0
269
Member Avatar for Boskor

I have another problem with mysql. I have 3 tables (Users, User_status and Analysis). Users and User_status are in relation (Users.User_status_name=User_status.user_status) and Users and Analysis are in relation (Users.Username=Analysis.Tipster). I want to have table in php: [CODE]Tipster Form boskor 1W 1V 0L slopart 0W 1W 2L [/CODE] In table Analysis …

Web Development php
Member Avatar for Boskor
0
129
Member Avatar for satiss7pwr

Hi all, I am trying to do what I thought would be a simple task: connect to a foxpro database, that resides on another machine on our network, through .Net. I get the following error: //windowsrv//f$//GSD//DEPO//L1//' is not a valid path. Make sure that the path name is spelled correctly …

Web Development asp.net web-server
Member Avatar for satiss7pwr
0
254
Member Avatar for Fost

Hi Guys and girls, I'm doing some work with XML documents and one is stored behind a .htpasswd arrangement. I have a script which requests the xml docs using XMLReader. So the problem is the secure xml file, does anyone know of a way to access the file without going …

Web Development php xml
Member Avatar for Fost
0
209
Member Avatar for printsmarter

we've got an issue on our new test site that i'd like you to be able to solve; we have product pages; example page: [url]http://www.printsmarter.co.uk/newPrinttest/34-Brochures.html[/url] there is a selection of menus on the screen that you can change select different options to show you a price. issue is as follows; …

Web Development javascript php
Member Avatar for macneato
0
204
Member Avatar for mayanktalwar

[CODE]Warning: preg_match_all() [function.preg-match-all]: Compilation failed: range out of order in character class at offset 76 in C:\xampp\htdocs\extracter.php on line 7[/CODE] hey i am not able to figure out what kind of warning is this? the line 7 is this in the code [CODE]preg_match_all("/(http:\/\/)?(www.)?rapidshare\.com\/[0-9A-Za-z]+\/[0-9A-Za-z]+\/[0-9A-Za-z_-.]+/",$contents1,$out1);[/CODE]

Web Development php regex
Member Avatar for pritaeas
0
298
Member Avatar for niths

hi all, i am having a page where i can select a projectname from the dropdown box(the project names will be cuming from database) and below that there is a list of users with checkbox. so i wil select a projectname and select one or more users for that project …

Web Development php
Member Avatar for niths
0
148
Member Avatar for niths

hi all, I had a page.It works fine in mozilla.But i am getting problem with Internet Explorer. The problem is...In my page i can add users and they can be seen in a table on the same page.so this is fine with mozilla,but in IE i can see the existing …

Web Development php
Member Avatar for diafol
0
83
Member Avatar for ekseks

Can someone give me a simple code of hovering my mouse into a picture in a html then the picture automatically has a white light fade on it thanks... I've been searching over the internet and they're just giving me a fade effect... I just wanted a simple white highlight …

Web Development javascript
Member Avatar for ekseks
0
72
Member Avatar for zaki_bwz

Hello. i have a trouble with my php and javascript code. I want to get database from form that use javascript that use onSubmit as form validator. It work when i refer to another page as addDb.php then add to database. I want to stay on current page then php …

Web Development javascript php
Member Avatar for blackhole
0
212
Member Avatar for azegurb

Hi all, I have taken simple CMS script from internet but there are such things that i dont understand them below is the code [CODE]<?php //////////////////////////////////////////////////////////////////////////////////////// // Class: DbConnector // Purpose: Connect to a database, MySQL version /////////////////////////////////////////////////////////////////////////////////////// require_once 'SystemComponent.php'; class DbConnector extends SystemComponent { var $theQuery; var $link; //*** …

Web Development cms php
Member Avatar for alanwdaniweb
0
123
Member Avatar for brenton_77

I am currently trying to create a live search box that as I type it will start displaying results that match. Here is an example [URL="http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print"]http://www.w3schools.com/php/php_ajax_livesearch.asp?output=print[/URL] but it retrieves its data from an XML file, I need mine to retrieve from a column called FirstName within a table of an …

Web Development microsoft-access php seo
Member Avatar for digital-ether
0
643
Member Avatar for commandgeek

Does anyone know if it's possible to have several text fields that place the data into different spots in the same web page. If needed I could just use two pages, it doesn't really matter. I've heard this requires a PHP script, but I'm not sure how to set this …

Web Development php
Member Avatar for diafol
0
127
Member Avatar for PixelatedKarma

Good Afternoon Everyone; Let me first start by apologizing to the moderators in advance if this is in the wrong forum but it is php / mysql related and I cannot find a place suitable for this thread. A few weeks back I had a discussion on these forums about …

Web Development cms flash html-css php web-design
Member Avatar for PixelatedKarma
0
105
Member Avatar for fawad123

I have tested following code and it works fine in IE but not Mozilla: var ajax = false; if (window.XMLHttpRequest) { ajax = new XMLHttpRequest(); } else if (window.ActiveXObject) { try { ajax = new ActiveXObject("Msxml2.XMLHTTP"); } catch (e1) { try { ajax = new ActiveXObject("Microsoft.XMLHTTP"); } catch (e2) {} …

Web Development javascript
Member Avatar for fawad123
0
368
Member Avatar for elneco

Hello Daniweb, i am having problems with the second button in my rather simple nav. i looked over the code a couple times but i can't seem to figure out why the hover is behaving teh way it is...perhaps someone with fresh eyes can help me out?? my nav: [url]http://elneco.biz/mynav/yeah.html[/url] …

Web Development html-css javascript
Member Avatar for elneco
0
103
Member Avatar for dotnextnewb

Hello, I am using a Menu Control & I have added Items in Menu Item Editor (both root & child). But in the browser the child items are not displaying. Running perfectly when my lecturer showed in his pc. When I searched for this problem, I have seen some solutions …

Web Development asp.net
Member Avatar for dotnextnewb
0
203
Member Avatar for shailendra_agra

Hello, Answer me I am adding multiple function onload in the body. IE showing the correct result but mozilla showing the problem like it showing the last function result in all function results. <body id="body" onload="showUser1('taj-mahal');showUser('taj-mahal');showUser2('taj-mahal');"> can anybody help on this,what is the problem??? and how to short out

Web Development javascript
Member Avatar for diafol
0
75

The End.