17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for maverick_ymca

Hi, Here at my organization we'd been using an app which worked perfectly fine on the current 5.5 tomcat. But now we wished to upgrade our server to version 6.0 . The problem is that the application almost refuses to start up. I had this web.xml modified to comment out …

Web Development apache java-jsp web-server xml
Member Avatar for ~s.o.s~
0
99
Member Avatar for preetg

Hello all I am trying to do--Attendance of the month march and i want format for text file is like employeecode 1 2 3 4 5 6 7 8------30 E01 A P P P p P P P E02 -- -- -- I m using mysql database. My tables for …

Web Development php
Member Avatar for preetg
0
166
Member Avatar for Mike516

The code should take the IDs and delete them from the tables but it isn't we are getting errors. Anyone see anything wrong? [code=php] <?php ############### # Prune.php # ############### //Variables $dbhost = "localhost"; //host name $dbuser = "root"; // username for db $dbname = "dbname"; // database name $dbpass …

Web Development php
Member Avatar for Mike516
0
107
Member Avatar for jobojo

Good morning everyone. I am trying to develop a Web site with a search feature that will search a MS SQL database based on text entered into the "Last Name" text field of the search form. I have the search feature working somewhat however, there are some additional tasks which …

Web Development asp web-server
0
92
Member Avatar for prem2

Hi, I am new in php.I want to use goto statement inside my program.But when i execute the below coding the blank page appears.This is the example program i referred in site. Coding: goto a; echo 'Foo'; a: echo 'Bar'; Help me.. Thanks :-O

Web Development php
Member Avatar for Zagga
0
975
Member Avatar for botaxsmaniz

dear all, i need help about asp.net. i'm making application with login form from visual studio and using loginname in every pages, my questions is: how to get username online into database when user insert/update? because i wont to know 'who create this data' best regards, martin

Web Development asp asp.net visual-studio
Member Avatar for Renukavani
0
176
Member Avatar for aravinda reddy

I want code to copy word text content into texbox using c# code in web application right now i have code for windows application. [code] using Microsoft.Office.Interop.Word; private void readFileContent(string path) { Microsoft.Office.Interop.Word.ApplicationClass wordApp = new ApplicationClass(); object file = path; object nullobj = System.Reflection.Missing.Value; Microsoft.Office.Interop.Word.Document doc = wordApp.Documents.Open( ref …

Web Development asp.net c# microsoft-office
Member Avatar for aravinda reddy
0
2K
Member Avatar for emhmk1

Hello again. I'm looking for a way of displaying the results of a search facility on a site im creating. The site is based on an animal sanctury and the database holds two key tables for searching 'blog' and 'animals' respectivly. Now, how would i go about displaying the results …

Web Development display php sql
Member Avatar for emhmk1
0
92
Member Avatar for Kitten84

I have a web page that contains a bunch of advertisements. What I need to do it randomly shuffle these images each time the page is refreshed. I cannot have any repeating ads. Here is the code I have now.... it repeats images. [code] <html> <head> <script type="text/javascript"> function random() …

Web Development javascript
Member Avatar for Kitten84
0
2K
Member Avatar for diafol

Anybody know how to do the following: id (PK/autoincrement) file_id (FK/int) - same file id pops up loads of times statement (varchar) - just some text from the file status (tinyint 0/1/2) - depending on the statement = 0 or 1 or 2 into a single record for each file_id, …

Web Development mysql php sql
Member Avatar for diafol
0
1K
Member Avatar for digital-ether

I have a page that is under SSL. However, in IE6, I get a notification: "This page contains both secure and non-secure items" etc. I've looked at all the HTTP requests for that page in both Firebug and Wireshark, and none of it seems to be sent over plain HTTP, …

Web Development php
Member Avatar for digital-ether
0
204
Member Avatar for solarb

hi first of all i want to create a linking with two tables in database: 1 table : id,name 1 nick 2 john 3 michael 2 table (i want to use this table for dropdown list) id,job 1 engineer 2 scientist 3 coder how can i link them both? the …

Web Development display mysql php
Member Avatar for diafol
0
82
Member Avatar for muralibobby2015

hello.... i am doing search concept. i am searching one word from all my web pages . actually i have only one table for 25 static pages. among this pages i want to search searching content. and also highlight the search content. how to do?

Web Development php seo
Member Avatar for ShawnCplus
0
123
Member Avatar for KPooja

Hello all, I am using IE. I have dropdown list with <select><option></option></select> on which i cannot provide custom tooltip on hover, because <option> will not support onmouseover event. so i am now supposed to create one custom dropdownlist [B]not using <select><option></option></select>.[/B] may be using combination of <table> and <textbox> on …

Web Development javascript
Member Avatar for KPooja
0
160
Member Avatar for lisles

I want to echo a message before redirecting.the message gets displayed but it disappears very soon.is it possible to increase the time of display before redirect.this is my code [code=php] if($result) {echo "Data has been edited"; redirect('edit.php'); } else { echo "<p>cannot update your data<p>"; } function redirect($loc){ echo "Reset …

Web Development php
Member Avatar for OS_dev
0
2K
Member Avatar for OS_dev

I would like to be able to change the "wrap" attribute for a textarea with javascript. That is unless you can provide a cross browser solution in css2, giving me the ability to just modify the css attributes. Thank you in advance.

Web Development javascript
Member Avatar for OS_dev
0
266
Member Avatar for lisles

hey,can any1 tell me what im doin wrong here.im trying to upload a pdf file but the file is not gettin uploaded.here's my code [code=php] <?php require_once "../inc/functions.php"; sessionCheck(); session_start(); $old_sessionid = session_id(); //i've added these lines session_regenerate_id(); //i've added these lines $new_sessionid = session_id(); if($_POST['submit'] && $_FILES['txtFile']['name']){ global $uploadPath; …

Web Development file-system pdf php
Member Avatar for lisles
0
97
Member Avatar for jonyetter33

I'm attempting to create a form that will eventually take user submitted information to create a pdf and email it to them with a pdf attachment. I got through making the form, and how I've been getting the information from page to page (its about a 4 page little form) …

Web Development email pdf php
0
79
Member Avatar for s_kanika

Hello everyone i'm new to daniweb and php also. i need help. I want to send sms alert to my customer when he fills a form just like email alert from my website Can anyone help me. Thanx a lot in advance

Web Development php
Member Avatar for vsmash
0
78
Member Avatar for grisha83

Hey guys, I am trying to do the basic :hello world" in PHP When i compile the code, my browser doesn't display "hello world" it is giving me an error: "You tried to access the address [url]http://localhost/PhpProject1/index.php[/url], which is currently unavailable. Please make sure that the Web address (URL) is …

Web Development php web-browser
Member Avatar for diafol
0
221
Member Avatar for andydeans

hi, i added a css code to transform the text of my input form however it only displays this and inserts lower case into the database rather than first letter being capitalized. i looked at the phpstrtoupper, however how would i use this in my input form to change it …

Web Development php
Member Avatar for diafol
0
125
Member Avatar for emhmk1

Hi everyone, I'm very new to this whole ajax / javascript thing and i have a question regarding the image loader. Basically i want to add the image when the ajax is doing its stuff but i can't figure out where i need to put the code. As a matter …

Web Development javascript
Member Avatar for vsmash
0
92
Member Avatar for rrocket

I am trying to get a modal popup to display on an onblur event, but I keep getting a "'null' or is null or not an object" js error. I have seen many examples using [code=javascript] var _popup; _popup = $find('MPE'); _popup._show(); //And $find('MPE')._show(); //And $object('MPE')._show() [/code] But none of …

Web Development client-server javascript
Member Avatar for AFAQ AHMED
0
359
Member Avatar for TotoTitus

I have an asp FileUpload and an asp Button on a page. When i click the button, i want the bytes of the file which was supposedly uploaded to be stored in a session variable. Only problem is that they aren't stored. How should i do this? There's also a …

Web Development asp.net session
Member Avatar for TotoTitus
0
3K
Member Avatar for srsackman

Hi, everyone. I am having difficulty with the following: I have a form with several RequiredFieldValidator controls on it. My user can take path 'A', down which all of these apply, or path 'B', down which only [I]some [/I]of them apply. How can I 'disable' some of my validators (not …

Web Development asp.net
Member Avatar for Ramesh S
0
85
Member Avatar for Benjip

I'm hoping to get some help with sorting database results based on the results themselves. I have two tables in this example, one being 'product_category_lookup.table' and the other 'products.table'. The 'product_category_lookup.table' holds data which tells the website which products are associated with which categories. The reason I have a lookup …

Web Development php
Member Avatar for as.bhanuprakash
0
114
Member Avatar for dweaver6

Can anyone tell me how to convert an int to a string value that I define?

Web Development asp
Member Avatar for trupti_rose
-1
8K
Member Avatar for cane23

can anyone offer some help here i have a string that contains course codes. i separate the string into the individual course codes using the explode function. however i want to run a query on each of the course codes that was present in the string and store the result …

Web Development php
Member Avatar for pritaeas
0
129
Member Avatar for leroi green

hey all, i found a way to click a link and load it into a div. the only problem is that i keep getting the "AHA error" from the if statement in my div. i'm not sure if it is me or the coding but i'll post what i'm using …

Web Development html-css javascript
Member Avatar for memaddy
0
683
Member Avatar for bogdanxpose

Hi, I have a question about ajax, php si mysql.. In mysql i have a table playlists and here is the code for php: [code] <?php $playlist_result = mysql_query("SELECT *, COUNT(playlist_id) AS NumOccurrences FROM playlists WHERE created_by=$user_id GROUP BY playlist_id HAVING ( COUNT(playlist_id) > 0 ) ORDER BY date DESC"); …

Web Development javascript mysql
Member Avatar for Airshow
0
79
Member Avatar for tryphy

Hi friends, I have a multi form(actually is one whole form, but split into multiple forms). From the image seen When i typed the name data in Form 1, and click the next button and go to Form 2... In Form 2 when i typed the Email data..and then i …

Web Development php
Member Avatar for emhmk1
0
162
Member Avatar for cane23

i am having a small problem. I am having some problem getting variables from the first form into another form to be processed. in other words i am processing the same data i got from the first form twice but i want a break between the two blocks that processes …

Web Development php
Member Avatar for cane23
0
113
Member Avatar for thorshammer

My form Submit button has an onClick="myFocus()" call, which looks like: <code> theFocus = document.getElementById('warning'); theFocus.tabIndex = 'auto'; theFocus.style.background = 'red'; theFocus.focus(); </code> It works - briefly. Right after clicking Submit (top of form no longer visible when Submit reached), the focus goes to the target element and turns red …

Web Development javascript
Member Avatar for thorshammer
0
118
Member Avatar for filch

I have a page on which I have broken it down into several forms, which relate to specific categories applied to an awards contest for students. At the top of the page, I have a select list which, when a category is selected, I want it to show a particular …

Member Avatar for filch
0
103
Member Avatar for alipica

I have no clue why this is happening. When I load a certain page on my site, my content loads twice. Basically, my content appears to flash once. I can't figure out what's going on, but it seems to deal with the following code. The page calls urlCheck(). [CODE] // …

Web Development flash javascript
Member Avatar for alipica
0
2K
Member Avatar for tryphy

A): First I have a company form, which i create a company name and it is saved in a company table..with an autoincrement id as 001( I used Zerofill in it.) Creating the company --> I did this.. B): Then, I have a project form which create project details, in …

Web Development php
Member Avatar for vsmash
0
119
Member Avatar for beforetheyknew

Hi guys for my first piece of work on javascript i have to check a few html form questions which is provided. But im pretty clueless on how to do it, or even start it. First of all how would i check like a drop down menu had the right …

Web Development html-css javascript
Member Avatar for alipica
0
205
Member Avatar for azegurb

hi all PHP masters and newbies i have a question about pagination. this news script displays 4 little images and links at the right side and one large image at the left side. and all the links submitted shows below. i need let at the page displays 8 news with …

Web Development php
Member Avatar for azegurb
0
101
Member Avatar for shanboy

I,m a novice in ASP.net programming. I wonder how to use functions and events associated with each control. I have seen few books and couldn't get it. Can anyone help me out.??

Web Development asp asp.net
Member Avatar for apegram
0
133
Member Avatar for teh_m

I am new with ASP.Net and C#. I have problem with drop down list. How to declare drop down list and how to save user selection from drop down list into SQL database using C# ?

Web Development asp.net
Member Avatar for jbisono
0
72
Member Avatar for vinothkumarrvk

Friends i have one doubt: Who invented the [B]spring framework [/B]and when they invented it? Please help me to know this.

Web Development java-jsp spring-framework
Member Avatar for vinothkumarrvk
-1
68
Member Avatar for muralibobby2015

here is my code. this is working fine but small prblm is here.fading text is working only one time. it is not working multiple times. can anybody check what is the prblm is der? rotation not working.just copy paste this codeand see what is the prblm is there.first time loop …

Web Development php
Member Avatar for pushpakalpana
0
121
Member Avatar for slyme

I don't want slashes in my $_POST values. I want to deal with that kind if thing myself. I am having problems getting rid of said slashes. You can see the results of the following code here: [URL="http://www.slyme.co.uk/sanitise.php"]http://www.slyme.co.uk/sanitise.php[/URL] View the source - htmlentities seems to work, stripslashes doesn't unless I …

Web Development html-css php
Member Avatar for slyme
0
171
Member Avatar for solarb

hi! I have a form to add content in database(addcontent.php) and one file which shows the content(content.php).Database has id,title,content columns. IS it possible to make the content.php to "$_GET" the id's from the database and show them on the page as : content.php?id=1 And other thing. i have buttons in …

Web Development gui mysql php
Member Avatar for solarb
0
109
Member Avatar for lisles

i want to display a confirmation message when a user clicks delete.can any1 tell me how i could do it with javascript and php here's my code [code=php] $id=$r["sr_no"]; if($r['district']==1 || $r['district']=='North') { $r['district']=North; echo "<tr><td >{$r['sr_no']}</td><td >{$r['name']}</td><td >{$r['designation']}</td><td >{$r['dte']}</td><td >{$r['ph_o']}</td><td >{$r['ph_m']}</td><td >{$r['ph_r']}</td><td >{$r['district']}</td><td >{$r['taluka']}</td><td >{$r['pan_name']}</td><td><a href='edit.php?cmd=edit&id=$id'>Edit</a></td><td><a href='edit.php?cmd=delete&id=$id' >Delete</a></td></tr>"; echo …

Web Development php
Member Avatar for muralibobby2015
0
6K
Member Avatar for xuexue

[code=php] <?php mysql_connect("10.237.200.202", "root", "r00tb33r") or die(mysql_error()); mysql_select_db("spc_grinding_c1_dbo") or die(mysql_error()); $qt=mysql_query("SELECT DataReading FROM SPC_DataReading WHERE StationNumber = 'STATION2' && MachineName = 'GN-07' && ParameterName = 'outside diameter (2.4912)' && Date_Captured = '02-25-2010' && ReadingType = 'AVERAGE'") or die(mysql_error()); header ("Content-type: image/jpg"); $x_gap=40; // The gap between each point in y …

Web Development php qt
Member Avatar for maba001
0
132
Member Avatar for prem2

Hi, I need to insert a new value in middle of array. For ex, $arrayvariable=arrray("a","b","d"); I need to insert C in between b and d. Thank you in advance.

Web Development php
Member Avatar for prem2
1
177
Member Avatar for maria_mj

How to save user input from text box and radio button to the SQL database using C# in ASP.Net? Please help me...

Web Development asp.net c# sql
Member Avatar for apegram
0
4K
Member Avatar for lobstar

Hi, I wrote a small piece of javascript a while ago to add some text to a text box and mark it as read only if a check box was checked. If the checkbox was unchecked, the text would be removed and the field writable. It was working great until …

Web Development javascript
Member Avatar for lobstar
0
3K
Member Avatar for dan4domination

Hello, The first part of the script works regarding updating however for some reason and I cant figure out why its not inserting into my bookings table. Any ideas? [code] <?php session_start(); // is the one accessing this page logged in or not? if (!isset($_SESSION['logged']) || $_SESSION['logged'] !== 1) { …

Web Development php
Member Avatar for dan4domination
0
118

The End.