52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for khr2003

hello I found a js that allows to use dependent drop down menus, and here it is [CODE]<script language="JavaScript"> function ShowReg(op) { document.getElementById('Car').style.display='none'; document.getElementById('Boat').style.display='none'; document.getElementById('Plane').style.display='none'; if (op == '1') { document.getElementById('Car').style.display="block"; } if (op == 2) { document.getElementById('Boat').style.display="block"; } if (op == 3) { document.getElementById('Plane').style.display="block"; } } </script> <select id="choice" …

Web Development javascript
Member Avatar for ~s.o.s~
0
151
Member Avatar for creativehacker

I want to call asp function in anchor link click. Is it possible to call server side function from client side action. I want to delete file from server when user clicks the hyperlink... Any help please... Regards venkat

Web Development asp client-server
Member Avatar for hielo
0
185
Member Avatar for kodingkarthik

Hi all, I am new to asp.net programming and i am using asp.net calender control the code tht i am using is [CODE]Protected Sub btn_dob_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btn_dob.Click Try If (txt_dob.Text.Trim() IsNot DBNull.Value) Then Calender2.SelectedDate = Convert.ToDateTime(txt_dob.Text) End If Catch ex As Exception End …

Web Development asp asp.net
Member Avatar for kodingkarthik
0
174
Member Avatar for tuse

Hi! How can I include CSS styles in a PHP HTML Email? This is what I have so far- [code=php] <?php $msg='<html>This is a <em>test</em> message</html>'; mail('a@b.com', 'Test HTML Mail',$msg,"From: Santa Claus <santa@gmail.com>\n" . "MIME-Version: 1.0\n" . "Content-type: text/html; charset=iso-8859-1"); ?> [/code]

Web Development email html-css php
Member Avatar for tuse
0
93
Member Avatar for knrakesh

hello friends thanks to all for their co-operation iam facing a problem with date function i want to insert it in a database by taking from form is there any one whi gives the code Thank u KNR

Web Development php
Member Avatar for dilipv
0
170
Member Avatar for pupsaa

Hi! First of all to say that I am a newbie in PHP world. I have a table in a database and I am trying to update a row's content based on its id that I get inside the page's link. But the update never occurs. Please help. I can't …

Web Development php
Member Avatar for dilipv
0
127
Member Avatar for dourvas

hallo there. i am new in programming so i ask for your understanding i want to put the results from a sql query into a textarea. then i want to be able to pick one of the records of textarea and delete it (textarea and database). (i dont have to …

Web Development php sql
Member Avatar for dilipv
0
254
Member Avatar for navi17

hi friends.... i m new to php.... i have installed apachie 2.0,php 5.2,mysql5.1... everything is going welll.... bt dere is problem using d following code,, [code=php]<php mysql_connect("localhost", "root", "mars11") or die(mysql_error()); echo "Connected to MySQL<br />"; </php>[/code] i hv save it in the htdocs folder under apachie...filename is test.php bt …

Web Development php
Member Avatar for navi17
0
85
Member Avatar for Cr4nberry

Hi there, I have a little problem working with JavaScript, I was wondering if i could use some trick to call different variables with a base name. I'll explain it: var number1 = new Array(); var number2 = new Array(); number1[1] = "one"; number1[2] = "two"; number1[3] = "three"; number2[1] …

Web Development javascript
Member Avatar for captainbeef
0
417
Member Avatar for sagedavis

Sometimes it's just something so simple. I have been racking my brain, searching the net, for, litterally, 6 hours. Looking to do the following. If the user puts "this phrase" into the form field, it will send to the database "this_phrase". Hours and hours of research, solutions using preg_replace with …

Web Development php
Member Avatar for bugmenot
0
807
Member Avatar for Vladimirr

I got this script from [URL="http://www.w3schools.com/asp/asp_send_email.asp"]one ASP tutorial (click here to see it)[/URL]: [code=asp]<% Set myMail=CreateObject("CDO.Message") myMail.Subject="Sending email with CDO" myMail.From=mymail@mydomain.com myMail.To=someone@somedomain.com myMail.TextBody="This is a message." myMail.Sendset myMail=nothing %>[/code] replaced [email]mymail@mydomain.com[/email] and [email]someone@somedomain.com[/email] with 2 mail addresses of two mail-boxes that I have on [url]www.yahoo.com[/url] and uploaded this script (as …

Web Development asp web-browser web-server
Member Avatar for hielo
0
203
Member Avatar for hknight

I use a Tab Pane Script to load form fields into tab panes. It works correctly in most browsers including Firefox and Opera however the form cannot be submitted in Internet Explorer. [url]http://d9qjx79zqpo3.googlepages.com/tabs.htm[/url] [url]http://d9qjx79zqpo3.googlepages.com/tabcms.zip[/url] To test, please click on the link in the admin area, then click on the "Save" …

Web Development javascript
Member Avatar for hielo
0
109
Member Avatar for achtani_jeetu

the thing is I am just a beginner and started learning .net. Can anyone tell me about the meaning of this statement. Here myrdr is the object of sqldatareader. Your responses are highly appreciated. And I had some pressure so got to learn things quickly. Please Reply and Thanks in …

Web Development asp.net
Member Avatar for iDeveloper
0
86
Member Avatar for jtmcgee

I am having problems with str_replace. What I am doing for the administration pages of my CMS I have a include page for the top navigation (nav.inc.php). So I'll show you my code. [CODE] $page = $_SERVER['SCRIPT_NAME']; $prefix = '/administration/'; //get main and sub $main = '<div class="main-links"><a class="wnav" href="'.$prefix.'">Home</a><a …

Web Development cms php
Member Avatar for jtmcgee
0
166
Member Avatar for Aamit

[code] <body onload='window.setInterval("timeHere()", 100)' onunload="sayTime()"> </body> </html> [/code] here is java script [code] <script> var time=1; function timeHere() { time = time + 1; finalTime = time / 10; } function sayTime() { finalTime = time / 10; //return finalTime; alert("Thank you for coming to my site! \n You have …

Web Development javascript php
Member Avatar for diafol
0
795
Member Avatar for ptaylor965

Hi have a form with a Multiline Textbox and a Span I save the text and load into a <span> [CODE]lblSpan.InnerHTML = txtMLBox.Text.ToString.Replace(Environment.NewLine, "<br/>")[/CODE] The Span looks fine in IE but If I do this in Firefox the Environment.NewLine is not being converted I am using Visual Studio 2008

Web Development asp.net visual-studio
Member Avatar for ptaylor965
0
146
Member Avatar for Kelicula

Hi all, I am usually a Perl programmer, I have some background in javascript and am attempting to create a Googleish selector div. [I]Please bear with me, excuse the long introduction...[/I] Here's the details: Our site filters content by location. I use zip codes to find radius's. So if a …

Web Development javascript json perl xml
Member Avatar for hielo
0
235
Member Avatar for cohen

Hey Guys, I'm creating a submission form for my website. Now, how do i make it when someone hit's submit, it sends an e-mail to me??? I'm using dreamweaver. Thanks, Cohen

Web Development
Member Avatar for peter_budo
0
147
Member Avatar for tanha

Hi. I want ot use the TinyMCE editor in my jsf code, but unfortunately there is error in using the init function, and also in eclipse when I copy the folder of the tinyMCE, there is warning sign on the folder. can any one help me through this issue ??? …

Web Development java-jsp
Member Avatar for ~s.o.s~
0
237
Member Avatar for kc8pdr

I looking for a jsp web hosting ? that support visual frameworks ?

Web Development java-jsp
Member Avatar for chackboom
0
140
Member Avatar for Anwarmt

Hi I have been working as an Sr S/w Engg on the platform VB6, SQL Server 2000, and Crystal report. I joined a new company recently and they have plans to migrate their VB6 product to Web based product. I am very enthusiat to get myself into Dot net platform …

Member Avatar for poguemahone
0
140
Member Avatar for Tank50

Hi I have dropdown list in my asp.net page.I wrote a below coing coidng in the `SelectedIndexChanged`, protected void cmb_Se_SelectedIndexChanged(object sender, EventArgs e) { SqlConnection con=new SqlConnection("Data Source=20.1.2.58;Initial Catalog=Customer;User ID=test123"); string str = "select ExecutiveName from Executive where TeCode='"+cmb_Te.Text+"'"; con.Open(); SqlCommand command=new SqlCommand(str,con); SqlDataAdapter adpter=new SqlDataAdapter(command); DataSet data=new DataSet(); adpter.Fill(data); …

Web Development asp asp.net dataset open-source
Member Avatar for culeu
0
136
Member Avatar for uppibhay

Sirs,I w'd like to build on a website wherein i've a text box n accept code from user.I then w'd like to run code and display output in page. Something like [url]www.codepad.org[/url]. Plz help me with this....

Web Development c c# c++ php
Member Avatar for Salem
0
83
Member Avatar for rajkishore

hi all, i created an web application in which i have used sessions. when i run this application on IIS its working fine, but when i hosted on another webserver(EasyCgi) the sessions are not working. can anybody please help. i even used Session State and Session mode in my WEB.CONFIG …

Web Development asp.net session
Member Avatar for rambabuk1222
0
67
Member Avatar for sonia sardana

can Somebody send me the Simple program that just displays the title=My First Project & sonia on the Screen. I m tryimg the program but not getting it because i m new to the ASP.net.....I do not know whether to write the code in default.aspx or default.aspx.vb. [code] <%@ Page …

Web Development asp.net xml
Member Avatar for rambabuk1222
0
93
Member Avatar for theimben

Im tring to replace a string. But it just doesnt work for some reason. Ive tried str_replace and preg_replace but neither have worked. My script basically caches a webpage then replaces a given string. The problem is replacing the string then saving it. Could you please help me out... [code=php] …

Web Development php
Member Avatar for mschroeder
0
176
Member Avatar for jeffc418

Hi everyone! I have a problem with a very simple solution I've just been unable to find :D Say you have a text file that says "My name is jeffc418. My name is kkeith29. My name is =IceBurn=." How do you get it to say just: jeffc418 kkeith29 =IceBurn= Would …

Web Development php
Member Avatar for death_oclock
0
424
Member Avatar for ashafaaiz

Hi can anybody help me? I am working in a networked system. Just i want to search all the images in the H: drive. What i am exactly trying to say is, i want a search program exactly as 'istockphoto.com' of my own. Could you tell me this is possible …

Web Development image php
Member Avatar for gotmick
0
185
Member Avatar for wwwmadeasy

hi there ... i want to Handel a select field in php but i could not ..so i was wondering if someone can help.... what i want is there will numbers from 3 to 40 listed in select field and when user select 3 3 text box will appear and …

Web Development php
Member Avatar for wwwmadeasy
0
164
Member Avatar for omesanni

I am having a with problem displaying the contents of the hql query from the database. Basically I created entity classes for each table in my database. I have an index.jsp page which has a form in it. When the form is submitted the details are passed to a servlet …

Member Avatar for ~s.o.s~
0
170
Member Avatar for whisper_101

Seasons Greetings Everybody! I want to use a Textfield to dispaly details of link information to my website so that others can copy and paste these details upon their website. I want to prevent visitors from being able to type anything in this field altogether. Does anyone know how? Thanks

Web Development java-jsp
Member Avatar for ~s.o.s~
0
84
Member Avatar for rajeesh_rsn

Hi I had to echo a table from a database in a html column (td) but the problem is the width of that column is increasing when show that para.... Please help me... Thanks Rajeesh

Web Development php
Member Avatar for ashafaaiz
0
101
Member Avatar for SinghR

I needed some in making a comment box. I am making a website most of the thing are done, but one important thing I still need to do is add comment box or textarea. I tried in html but looks like i need .php codes and i have no idea. …

Web Development php
Member Avatar for death_oclock
0
128
Member Avatar for nedrah128

In this code it takes phone 2 when I click box and copies the value to a que box . But when I change "phone2" to "email" so on the click it will copy the email value to the que box. The result is undefined. But if I put all …

Web Development javascript
Member Avatar for nedrah128
0
181
Member Avatar for amy.damnit

I am new to PHP, but eager to become a "pro" ASAP! What does everyone think about using an IDE with PHP? What tools do you use? I installed Eclipse PDT All-In-One on my MacBook. I am getting the hang of it, but it still doesn't seem as user-friendly as …

Web Development ide php
Member Avatar for royganor
0
132
Member Avatar for khr2003

Hi I have an xml file which i am trying to display through a php script, it displays everything fine until i change the contents of the xml file to Arabic letters at which the file does not load. here is the xml file: [CODE]<?xml version="1.0"?> <studentmarks> <listName>name of the …

Web Development php xml
Member Avatar for khr2003
0
80
Member Avatar for shankmuchlove

Sirs, I would like to do a project for my final year BE. I would like to do a challenging project that should be finished within a couple of months. I thought of doin an online web based project using PHP. I have adopted daniweb.com as my project guide. Could …

Web Development php
Member Avatar for shankmuchlove
0
109
Member Avatar for Aamit

Hi I want to count page views .. suppose when user [COLOR="Green"]viewing page 1 and spend minimun 10 seconds time on page 1[/COLOR] then i have to [COLOR="Red"]calculate view as 1[/COLOR]... so how to do that?? plz give me sample example

Web Development php
Member Avatar for Aamit
0
362
Member Avatar for mgn2683

Hi, This may be hard to describe what I'm trying to do. I have a database table called assignments where there are columns: section, team, and candidate. For each section, there are 3 teams- 1, 2, 3. The sections are listed alphabetically from A-V. There are 5 candidates per team, …

Web Development php printer
Member Avatar for Aamit
0
149
Member Avatar for mvsjs

Hi, I have given my code below. The logic is: - Display all Users details who have enrolled for access to my web page (default value for authorization is zero) on clicking 'NEW USERS' - For those records where check boxes checked authorization will be updated to 1 (access given) …

Web Development php
Member Avatar for Aamit
0
144
Member Avatar for confusedGirl

As a beginner, I designed a website using php, but unfortunately I found difficulty with 3 codes. I have already written them but am not sure why they didn't work . Please check it for me… There are: [COLOR="Red"]1-changing pending status to accept or reject from admin ,,,[/COLOR] [code=php]<?php session_start(); …

Web Development php
Member Avatar for Fest3er
0
97
Member Avatar for knrakesh

Hello friends Iam unabing to add subcategory and iam trying to add in the same table in which the categories are there can anyone please help me in adding subcategories and categories in a same table please Thank u KNR

Web Development php
Member Avatar for death_oclock
0
206
Member Avatar for vsla

Hi, I am new to the site, but I am currently trying to build an information form so that customers can submit some information via email to me, sort of like a contact form but with some other information on it. I have been checking my code over and over …

Web Development php
Member Avatar for death_oclock
0
112
Member Avatar for 0weavern

OK, I'm new to PHP and SQL so you'll probably have to explain most tings in laimen terms! I have created a website with PHPMaker, a kind of loaning libary where stock gets loaned out and out and then returned. Now it works all ok, however I want to be …

Web Development php session sql
Member Avatar for death_oclock
0
167
Member Avatar for Sheridan

HELP! I am a refugee from Apache trying to use PHP with IIS. I have PHP installed and running on IIS 6. This is good. Not so good is the fact that phpinfo() does not recognize MySql and I cannot generate error messages. Anyone know where I can look for …

Web Development apache mysql php
Member Avatar for lightningrod66
0
112
Member Avatar for khr2003

Hello every one I have a forum written in php language. What I want is to display all the comments made by one user on a certain topic. The database had two tables "forum" and "comment". Forum table is structured as follows: id cat_id title date_time userid name post allow …

Web Development php
Member Avatar for mschroeder
0
287
Member Avatar for 3210

Hi, I am new to JS. Long time passed trying to understand JS basics and functions...may be it's time for asking some help. Om my exam pages I have <iframe> and <img> to change pages in the iframe. I have links to other 5 pages that are opened in the …

Web Development javascript
Member Avatar for 3210
0
135
Member Avatar for sonia sardana

hey frnds, I m new to the ASP.net..Plz jelp me out. My windows is Installed in D: I made project & save it D:\Inetpub\wwwroot\WebSite1 Website1 is the folder I created & form name is aspx. [code] <%@ Page Language="VB" %> <html > <head> <title>Introduction</title> </head> <body> <% Response.Write("My First project")%> …

Web Development asp.net
Member Avatar for Fungus1487
0
222
Member Avatar for heryasa

i need help to build web chat using ajax and php for my final project to get my bachelor degree. the feature include: room chat, private chat, file transfer, voice chat, and video chat. who want to help me please feel free to email me at <snipped> thanks

Web Development javascript php video
Member Avatar for SavuthHeng
0
108
Member Avatar for ashafaaiz

hi, I am a new member of daniwab. Pl, help me. Just i want php codings to search images in a folder(including subfolders) in my drive. Search is just like windows search program. But i want to search images without using database. Just i type any code word (for eg:- …

Web Development php
Member Avatar for manish.s
0
2K

The End.