17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for shijunair

Hi everyone, I am facing a problem in my project .I am sure you'll will find a way out.I am working on a project leave management .now i am really confused as to how to go ahead.I am working with jsp and ms-access .Here the scenario is i have two …

Web Development java-jsp
Member Avatar for peter_budo
0
155
Member Avatar for manish250

i have taken date month nd year in menu in simple jsp not javascript.i want whwenevr i click on feb date list automatically contain 28 or 29 days.please reply me in a day

Web Development java-jsp javascript
Member Avatar for peter_budo
0
92
Member Avatar for ryy705

Hello, I need to give different people different email addresses of my site. For example, advice(at)mysite.com, support(at)mysite.com, author(at)mysite.com, etc. But I would like for all the emails to go to one real email account. mailinator dot com does a very good job of it. No matter what you put in …

Web Development php
0
48
Member Avatar for marcux

Hi all! I am trying to make use of JDOMP but apparently something does not work. Here is my code: [CODE] function saveTextToServer(){ var dateNow = new Date(); var time = dateNow.getTime(); var url = "saveNotewall.php?text="; var noteField = document.getElementById("noteField"); url = url + noteField.value + "&time=" + time; var …

Web Development javascript
Member Avatar for marcux
0
83
Member Avatar for palavi

hi all, i am to company which has assigned project hopital mangt given ide net beans to which i am new, i am writing html in jsp like patient name, age, in a table. i am confused i am more to html not to jsp can we use html in …

Web Development ide java-jsp
Member Avatar for peter_budo
0
118
Member Avatar for Mylena

Hello everyone, The ajax+php part worked well independently. When I created a switch (because I want different information from database to be displayed in different tabs), it does not go into the xmlHttp.onreadystatechange=function(). I tried all possible variations, and looked online for hours. Can anyone help please? Thank you [code] …

Web Development php
Member Avatar for R0bb0b
0
195
Member Avatar for jmasta

Hello everyone, I just have a quick Javascript question I haven't found an answer to on the net. What is the difference between [icode] arrayName[0] [/icode] and [icode] arrayName.item(0) [/icode] I've run across instances of both, but nowhere have I seen the difference between the two. Thank you, Jmasta

Web Development javascript
Member Avatar for jmasta
0
164
Member Avatar for h2c357

Hi, I have a aspx form on which I have a ListBox control a text field a button (btnA) and a submit button (btnB). The scenario is: the user enters text in the text field and clicks btnA. The value in the text field is added as an option in …

Member Avatar for neerajsingh.net
0
135
Member Avatar for veledrom

Hi, I have 2 textbox and 2 buttons in my form. Seperatly, Button 1 will validate textbox 1 and Button 2 will validate textbox 2, if they are empty or not. How can we do it? Thanks

Web Development javascript
Member Avatar for veledrom
0
103
Member Avatar for derekcpt

Hi all you guru's. Who could crack this once for me. I want to add the totals of my records posted to a mysql database table. I can achieve this by using the += method, but I have to have it in a repeated region (dreamweaver). I know there is …

Web Development php
Member Avatar for derekcpt
0
239
Member Avatar for derekcpt

I'm having a for where I can create invoices. Now I'm having the form fields where I have to fill it out with the customer's data. Well I don't want to fill out existing customer's data everytime. So I am having a link which opens up a page with a …

Web Development php
Member Avatar for derekcpt
0
101
Member Avatar for AON07

First off I am new to PHP, I am trying to display categories from a mysql db in a drop down menu. for some reason it is not displaying the category options. Need help with the code. Can anyone help me out. "the db has two fields "id" & "category_name" …

Web Development display mysql php
Member Avatar for AON07
0
133
Member Avatar for Tootlol

Hi, recently I just started learning php as a complete beginner, and I wrote some codes that wasn't able to show up on my browser. Please check to see if there is anything wrong with it. This is the exactly what I used. <?php $prices= array( ‘Tires’=>100, ‘Oil’=>10, ‘Spark Plugs’=>4 …

Web Development php
Member Avatar for MVied
0
154
Member Avatar for derekcpt

Hi, Could someone assist me here ;-) (Again) I am recording dates into a mysql database in the following forma: YYYY-MM-DD 2008-08-17 [code]date('Y-m-d')[/code] Now, I have to get data from my mysql database, but the data has to be filtered by the month and year. So, in other words, if …

Web Development php
Member Avatar for R0bb0b
0
207
Member Avatar for gpdrums

Hi All: I have an extensive website in which I would like to echo the name of the company various pages after the user logs in. I think I should be using the $_SESSION global, but I'm having difficulty implementing it, placing it in my code, and knowing what php …

Web Development mysql php session
Member Avatar for MVied
0
201
Member Avatar for andrew13d
Member Avatar for langsor
0
113
Member Avatar for AON07

K i have installed XAMPP, which includes (Apache 2.2, PHP, MySql and Filezilla) for windows XP Media edition. I have put my webpages in the C:\xampp\htdocs folder. The browser will run any HTML files in this folder using ://localhost/ however when ever i call on a .php file the browser …

Web Development apache display php windows-server
Member Avatar for AON07
0
179
Member Avatar for tuse

The website that I created enables users to signup. When they register an account, a mail is sent to them. In the mail, I wish to send them a link upon clicking of which enables them to login. How can I do this? ----- I was thinking on the following …

Web Development asp.net
Member Avatar for tuse
0
65
Member Avatar for architact

Hello, I have designed a website which let the users create account and use our services, my client asked me to design a page which will show all the online members at that time, the solution i have figured out is that i have create a column in my user …

Web Development database-design php
Member Avatar for scru
0
81
Member Avatar for anuj_sharma

hey guys, I want to make a table but i want the first column of the table to have a radio button. On clicking the radio button i want the user to go to another page. Please suggest some ideas or some coding which could help me.

Web Development javascript
Member Avatar for anuj_sharma
0
495
Member Avatar for veledrom

Hi, i use php mailler to send email but i don't know how to add <br> or <p> breaks into message that comes from other page with $_POST. I need it because message appears in email as an one long line. [code] $mail->Body = $_POST['message']; //Not fine $mail->Body = "Hi,<br>How …

Web Development php
Member Avatar for veledrom
0
199
Member Avatar for Oreo1982

I have a gridview that gets data from an objectdatasource. the grid has a commandfield in which i show both the edit and delete buttons. i have figured out how to confirm the delete... [code=VBNET] If e.Row.RowType = DataControlRowType.DataRow Then Dim cmdDel As Button cmdDel = e.Row.Cells(0).Controls(2) cmdDel.Attributes.Add("onclick", "if(!confirm('Are you …

Web Development asp.net
0
76
Member Avatar for god_1896

[QUOTE]hi all; suposed to be this question has been solve, perhaps sory if i need to ask again. I found a code of send and email using with php classes; but there is something wrong with it. here is the whole code. [/QUOTE] [ICODE]class request { var $email; var $senderName; …

Web Development email php
Member Avatar for langsor
0
139
Member Avatar for Venom Rush

Hi there I've never dealt with Ajax and I'm having a rather frustrating time with an upload progress bar I found on the net that's supposed to be really good. That's beside the point. I just wanted to know if there are any Ajax related packages out there that need …

Web Development javascript
Member Avatar for MattEvans
0
81
Member Avatar for Shariqhere

Hey guys! Just wanna ask you a simple question. How do I use the value of variable #2? Let me explain. The company I use gives me 2 variable values that i can capture. SEARCHTEXT and PARTNERID So this is the link I use: [url]http://doubleyourctr.com/offer1.php?searchvalue=SEARCHTEXT?partnervalue=PARTNERID[/url] And this is the code …

Web Development php
Member Avatar for Shariqhere
0
108
Member Avatar for chellethecat

I decided to try and redo a site I'd had active ages ago and while looking over things to see what needed to be fixed, tweaked, and just in general redone I discovered that while viewing the site in IE everything works just as it should, but in Firefox the …

Web Development javascript
Member Avatar for langsor
0
224
Member Avatar for MDGM

Hi all. I basically need to know how to get a link's href value using the getelementbytagname code and storing that value in a variable so it can be used later in the same function. Thanks, Max

Web Development javascript
Member Avatar for MDGM
0
3K
Member Avatar for Tom Tolleson

Hi, guys. I've got a simple registration form that is submitting new user's contact information into a MySQL database. However, now when the form is submitted, I need the data to be sent in an email to the site's admin. Anybody know a good resource for this? Thanks! Tom Tolleson

Web Development email php
Member Avatar for Tom Tolleson
0
422
Member Avatar for Tom Tolleson

I have an html form with multiple fields. Some of the fields are required, others are not. I have a JavaScript validation form that will send an alert if a field is empty. However, I only want it to send an alert if a required field is empty. How do …

Web Development javascript
Member Avatar for Tom Tolleson
0
183
Member Avatar for Tom Tolleson

Any input is appreciated. [code]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Untitled Document</title> <script language="text/javascript"> function validateForm(form1) { alert("Please enter your name."); } </script> </head> <body> <form name="form1" id="form1" method="post" onSubmit="validateForm(form1);"> <input type="text" id="name" name="name" /> <input type="submit" name="SubmitName" value="Submit" /> …

Web Development javascript
Member Avatar for Tom Tolleson
0
130
Member Avatar for skinbug

Hi, I have a series of checkboxes that may or may not be checked. This means that when none of them are checked, the implode function has nothing to implode so returns an error...I think that's why I get the error. The form is processed and I was wandering if …

Web Development php
Member Avatar for skinbug
0
110
Member Avatar for NadaAngel

i am developing a milt-language dynamic website in Classic ASP. the site is in English, arabic and French and the data is all stored in an Access database. my problem is specifically with grabbing the "FRENCH" submenus in a dynamic heir menu: [code] <script type="text/javascript" language="JavaScript1.2" src="includes/stmenu.js"></script> <% cl="Arabic" clF="French" …

Member Avatar for Thirusha
0
536
Member Avatar for Tootlol

Hi! I am a newbie, and recently I have installed php, apache, and mysql on my computer. However, after type some codes the browers left ÈpartÈ of the php code on the brower. It almost seem like the browser doesnèt recognize the code or something. below is what my browser …

Web Development apache php
Member Avatar for ryan_vietnow
0
151
Member Avatar for PomonaGrange

HI All, I've been trying to make a membership management type script. This script would have a database with the members contact info and which office they hold, if any. The problem I am having is I would like the script to show the president's and vice president's Contact info …

Web Development php
Member Avatar for langsor
0
164
Member Avatar for yasmena

this page opens in a pop up where it fetches an image from the Database ...everything works perfect except for passing the id part.. i'm tired of trying and i kept 5 days googling but could not solve it !! any help would be appreciated .. here's the line that …

Web Development javascript php
Member Avatar for Lejonet
0
153
Member Avatar for ficus

Hi Guys hope you can help me I am using the following AJAX code to get SUB-Buttons. If no new button is selected I need the main button to revert back to the originally selected main button on mouseout with a timeout function or delay please help. so the code …

Web Development javascript xml
Member Avatar for upside_down2000
0
351
Member Avatar for farahphp

Hi All i want to develop a code such that when i click on the text next to the radio button the radio button should be selected and even if the button is clicked how can i achieve this any help would b appriciated thanks in advance [ICODE]<html> <head> <script …

Web Development javascript
Member Avatar for mnjbadc
0
2K
Member Avatar for god_1896

hi all; I create a php classes to insert my data into database, but it doest work, please help me with this. here is my whole code. [CODE]<?php require_once('connect.php'); class email { var $mail_id; // hotel id in emailRecord Auto_increment. var $name; // hotel name in emailRecord. var $email; // …

Web Development php
Member Avatar for god_1896
0
115
Member Avatar for Seachmall

I have a method that requires two variables to pass through it but for some reason the second one doesn't. I've tried tons of stuff but nothing seems to work. [code=php] function get_area_number($area, $company='daniweb'){ echo '>> '.$company; } [/code] Thats the method, nothing is displayed for the [i]$company echo[/i] unless …

Web Development daniweb-feedback php
Member Avatar for langsor
0
107
Member Avatar for Mylena

Hello, Please, if anyone knows how to pass a Javascript integer variable as a parameter into php mysql_query. Below gg1 is successfully converted to an integer (i checked it using some maths additions), and now i need to pass this value to BirdID. The last line with innerHTML works fine …

Web Development javascript mysql php
Member Avatar for buddylee17
0
169
Member Avatar for Shanti C

Hello friends... I got one error ,when my login page is loading... Fatal error:maximum execution time of 30 seconds exceeded in ../../../login.php What would i do for preventing this.. Thanks in Advance. Shanti..

Web Development php
Member Avatar for Demiloy
0
129
Member Avatar for yasmena

can anyone heLp me i need to send an id to a page through a javascript function but it wont work he can't read the variable function confirm_delete() { var answer=confirm("Are You Sure You Want to Delete ?"); if(answer==true) { window.location="delete.php?id=$id"; // alert(" Title Deleted"); } else return false ; …

Web Development javascript php
Member Avatar for Shanti C
0
96
Member Avatar for veledrom

Hi, Code below returns true for (.). It should return false like it returns false for (,). Is there any other way to check (.) and (,). I simply want validate money. Thanks [code] if (isNaN(form1.paid.value)) { alert ("Syntax is not right."); return false; } return true; [/code]

Web Development javascript
Member Avatar for veledrom
0
138
Member Avatar for Dukane

I'm trying to process a text file saved in the directory below where the PHP script is running. First, it lists all of the files in the directory, skipping over . and .. Finally, it attempts to get a file handle for each file one at a time and then …

Web Development file-stream php
Member Avatar for Dukane
0
1K
Member Avatar for JRM

Hello all, I got involved with a Joomla CSS project, but I know very little about the properties of CSS. I have found out the hard way, that it works by it's own rules which may or may not necessarily be a subset of the HTML tag that I am …

Web Development html-css javascript
Member Avatar for essential
0
193
Member Avatar for danishbacker

[code=php]<? //inbox.php $data = mysql_query("SELECT * FROM mailbox WHERE `index` <= $index_end and `index` > $index_start") or die(mysql_error()); $info = mysql_fetch_array( $data ); if($info['read'] == 0) { echo "<span class=\"tableStyle\">"; $tabColor = "tableStyleNew"; } else { $tabColor = "tableStyleOld"; } //print table start echo "<table class=\"$tabColor\" bordercolor=\"#FFFFFF\" border=\"1\" cellpadding=\"0\" cellspacing=\"1\" …

Web Development php
Member Avatar for danishbacker
0
113
Member Avatar for Scooby08

Is there way to tell if a radio button is checked by not using the value at all?? And by not using any javascript either.. Here is what Im using: [code] <input type="radio" name="item_id" value="1" /> <input type="radio" name="item_id" value="1" /> [/code] Now I need the name and value to …

Web Development javascript php
Member Avatar for mackone
0
115
Member Avatar for Earl_CG

Hello Got a problem which has had me scratching my head for an age now, and has defeated both my Computing Teacher & my ultra techie friend. The following code is working perfectly till the last cell of the table it produces: [code]set rs=conn.execute("SELECT Predictions.[Match ID], Users.Username, Predictions.Week, Predictions.HPred, Predictions.APred, …

Web Development asp
Member Avatar for j03d4d4
0
1K
Member Avatar for Scooby08

Im just curious as to how one would approach adding up a column that is dynamically built from the database.. Each loop passes a price and I can't figure out how to collect each price to get the total price..

Web Development php
Member Avatar for buddylee17
0
97
Member Avatar for PsychicTide

Alright ran into a bit of a problem on the item count in my index... let me give you the layout I'm working with. I've got my index page with the header logo and navigation bar. This is followed by an Iframe. When I click the navigation buttons it changes …

Web Development javascript session
Member Avatar for PsychicTide
0
193

The End.