52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jyo1988

hi all, I am having 1 combo box and 3 text boxes in my jsp page. combo box is empid and and the other are name,desig and dept. when i select the empid, need to come all other values into text box fields from database. any ideas please share with …

Web Development java-jsp
Member Avatar for javaAddict
0
273
Member Avatar for vinadaytravel

Hi, I want to make a notifier for showing online users and number of room booked. But i don't know how to code it. Can anybody help me? Thanks in advance.

Web Development php
Member Avatar for vinadaytravel
0
36
Member Avatar for ruchi18

I am having an issue in my project trying to developing a mail webservice but getting an error transport failed to connect to server. Below is the code... [code] protected void btnsubmit_Click(object sender, EventArgs e) { MailMessage mail = new MailMessage(); mail.From = "ruchi.dubey18@gmail.com"; mail.To = txtTo.Text.Trim(); mail.Subject = txtSubject.Text.Trim(); …

Web Development asp.net
Member Avatar for kvprajapati
0
654
Member Avatar for dankolo

Greetings. I am curious about having the php config file in the web root. I am coding a site for a client and their web host has their php.ini file in the web root. Is that not a security risk? I have never heard of having it there before. I …

Web Development php
Member Avatar for mlm2gether
0
111
Member Avatar for katyanni_27

The following code is a part of my project and the output of this code is that i get all the title of the posts in the database and a delete hyperlink in front of all enteries now when i click delete for a respective title it should be deleted …

Web Development java-jsp sql
Member Avatar for kvprajapati
0
599
Member Avatar for Virangya

hi, i'm using UTF-8 in my database and when i insert unicode characters directly through database it's all fine. But when i'm inserting through an html form using php it sends some kind of other characters to the database e.g : ආයුබෝවන් how can i solve this...???

Web Development php
Member Avatar for Virangya
0
169
Member Avatar for Mr. Shannon

Hello, I have been working on a website at my college (not coursework) that uses Pylons and Genshi. To avoid Genshi parsing the JavaScript code in a template I moved the JavaScript to a separate file. The problem is I tried putting the .js file in the templates directory (where …

Web Development javascript
Member Avatar for Taywin
0
176
Member Avatar for Lost Monk

Hey people! Very happy to join Daniweb :) I'm having trouble retrieving form data via php thereby sending it to email. My code is as below. I've listed entire code though problem is only in declaring the selectlist value for POST processing. I've highlighted troubling part in red color. There …

Web Development first-post php
Member Avatar for ddymacek
0
214
Member Avatar for calebcook

Hi. I have a system where a user fills out some information. There can be multiple answers, so I've made a script that adds a new text box if you click a button. My problem is, I don't know how to process it in PHP. The script will create a …

Web Development php
Member Avatar for cereal
0
174
Member Avatar for michael123

I created a from which includes a textarea, this data will be saved to mysql, when I retrieve it, I want to only display the first two lines of this textarea data(ignore the rest), and only limit to text format(not html), how can I do that? If I continue to …

Web Development display php
Member Avatar for cicovy
0
196
Member Avatar for divin757

I am having trouble debugging in sharepoint. It is acting like I am debugging a different dll than the one I made code for. When stepping through it will skip lines occasionally and randomly just stop debugging. Often it will start debugging then stop randomly and show any new breakpoints …

Web Development asp.net sharepoint visual-studio
Member Avatar for divin757
0
190
Member Avatar for bkimbriel

Hey guys, I've been working on this for like 2 days now and I know it's something pretty simple to do, I'm just a rookie with php lol. Basically I have checkbox forms that I want to email all the checked values in. Here is my html: [CODE]<table class="pstable"> <tr> …

Web Development email php
Member Avatar for ddymacek
0
138
Member Avatar for emily-bcot

I'm new to PHP OOP. The project need a site class and the below is my code (): [CODE]class Sites { private $siteName; private $location; private $postcode; function __construct($name, $loc, $pc) { $this->siteName = $name; $this->location= $loc; $this->postcode = $pc; //use "insert SQL" to store new added site info to …

Web Development php
Member Avatar for ddymacek
0
138
Member Avatar for vaitalaziz

Hi ... I'm doing 1 web-system, where login page in .jsp but other functional page in .html where I use javascript to do function. So if user knows any other html page's url then they can browse directly any of those page. But I've to prevent them & send to …

Web Development html-css javascript
Member Avatar for Taywin
0
311
Member Avatar for sharelife

Hi, Sorry for my bad English. I'm trying to get HTML source of this webpage [url]http://priceboard.kimeng.com.vn/webdeploy/HoseBoard.aspx[/url] When I used function 'View Page Source' I get [CODE] ... <div id="divPTableInner" style="width:100%"> <div id="divPTable"><center style="margin:40px"><img src="images/loader.gif" width="32" height="32" border="0" alt="Loading"/></center></div> </div> ... [/CODE] But when I used Firebug (Firefox) to view source …

Web Development javascript
Member Avatar for Taywin
0
126
Member Avatar for danarashad

I am trying to figure out how to have a certain value as my selected value in a cfselect that is running a cfc? I am running a cfc, but when someone saves that answer in the database, when they go back into the form. I want the answer they …

Web Development coldfusion
Member Avatar for arrgh
0
157
Member Avatar for raviaaaa

I am new to Struts I have jsp file combined with servlet and jsp(jsp tags) i need to separate them according to struts 1.0 standards Please tell me the way i can do or give me some tutorials or examples Please tell me wqat need to separe and how here …

Web Development apache java-jsp session
Member Avatar for Taywin
0
216
Member Avatar for puvi

Hi everyone.. I was going thru php interview questions and came across these doubts. [I]What does a special set of tags <?= and ?> do in PHP? - The output is displayed directly to the browser.[/I] I saw this in a blog written in 2005 is this still valid or …

Web Development php
Member Avatar for puvi
0
185
Member Avatar for naveedqadri

Hi Experts: When i run this page on my online website with mysql (already with Oracle), this errors orrurs. Exception Details: System.Data.OleDb.OleDbException: [1]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'exec print_pack.check_print …

Member Avatar for naveedqadri
0
317
Member Avatar for papershop

Dear All i need help how to insert data into sql database form a datagrid... this is the example.... i have view data from tabel sales in a data grid product name sales jan sales feb sales mar MILK 10 15 20 Biscuit 7 6 9 Tea 5 15 30 …

Web Development asp.net sql vb.net
Member Avatar for pritesh2010
0
140
Member Avatar for muralibobby2015

hello, i am facing problem with image cropping. can you provide any code for crop images. actually my problem is i want to display 400X500 images. actually the original image size is 1600x900. then i am cropping that to 400X500. but it is scretching out. please tell me is there …

Web Development image php
Member Avatar for cereal
0
152
Member Avatar for Scott.Atkinson

Hi All, Im in the process of creating a task logging system for where i work, and at the moment im in the process creating a ajaz function where it will return a list of all users depending on what team the user has selected from the 1 dropdownlist but …

Web Development asp asp.net
Member Avatar for Scott.Atkinson
0
181
Member Avatar for aalokwar

Hi, I want to browse compete drive/folders and lists of file from server using ASP.NET 2.0 web application. Displayed files when clicked, should get open in a new window or in same window. Please help me with a demo project, if any available. Thanks in Advance.

Web Development asp.net
Member Avatar for kvprajapati
0
86
Member Avatar for Coyx

Hi guys, I'm wondering if anyone can help. I have surryussface flu and I just can't seem to concentrate at all. I need to be able to select a colour from a list like the attached image. I've managed to code it right up to the part where it can …

Web Development image javascript php
Member Avatar for Coyx
0
1K
Member Avatar for Ingska

Hi! I am coding a quite simple php form where many of the input forms are going to be filled with numbers. Is there a simple way I could get the numbers separated by thousands? Like the form showing 100 000 instead of 100000? Thanks in advance!

Web Development php
Member Avatar for Ingska
0
314
Member Avatar for SweetElite

Help please Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING on line 48 [CODE]'mysql_host' => $_CONF['db']['localhost'], 'mysql_user' => $_CONF['db']['xxxxxxx'], 'mysql_pass' => $_CONF['db']['xxxxxxx'], 'mysql_name' => $_CONF['db']['xxxxxxx'], 'mysql_prefix' => (isset($_CONF['db']['prefix']) ? $_CONF['db']['prefix'] :'' ), );[/CODE]

Web Development php
Member Avatar for MooGeek
0
49
Member Avatar for secstr

I have a similar issue with this code: [CODE]//Läsa in rätter för att kunna radera de oönskade via checkbox.. function ReadProductsForEdit($ratter){ $link = mysql_connect("localhost", "fruit", "potatoe"); mysql_select_db("db"); $result = mysql_query("SELECT * FROM meny"); echo '<form method="post" action="iframe_index.php">'; echo '<br><br><table width="500px">'; echo '<tr><td class="nr"><b>Nr</b></td><td class="ratt"><b>Rätt</b></td><td class="beskr"><b>Beskrivning</b></td></tr>'; while ($row = mysql_fetch_array($result)){ echo …

Web Development php
Member Avatar for secstr
0
180
Member Avatar for Sarama2030

HI Id lyk to know how you create web pages that are consistent on different resolutions especially the small ones i mean small monitors. I've used some css absolute positioning on my site stuff really overlaps on smaller screens-bad.thanks

Web Development asp.net
Member Avatar for riteshbest
0
152
Member Avatar for deraad

My program works according to what day it is, and it works perfectly, however, I don't know if the date() function is relative to the date of where my website server is located, or is it relative to where the user is? Here is an exact function i'm referring to: …

Web Development php
Member Avatar for deraad
0
93
Member Avatar for IT seeker

my work is stop here dont know how to do this i want to store numbers of images in mysql. after thar i want to reterive those products images with description and price. how it will be done? secondly if i click on category number 1 those images with detail …

Web Development mysql php
Member Avatar for IT seeker
0
85
Member Avatar for MARKAND911

I m having a problem in showing chart with datatable. I want to show my chart as shown in below image.

Web Development asp asp.net
Member Avatar for juluri srinivas
0
208
Member Avatar for Stefan_Lam88

Hi web developer, I want to know how do you guys fix your width in IE8/IE7?Because I got 1 table and let say example 4 columns.I only got 1 column temporary, it will auto populate the whole table eventhough I have defined my width in td. My condition is illustrated …

Web Development javascript
Member Avatar for Stefan_Lam88
0
110
Member Avatar for stoopkid

I am building a Leasing Company Property web site, and one option they'd like is to have "Similar Properties" recommended to the visitor. The array contains "Bedroom Type" data (studio, 1 bedroom, 2 bedroom, 3 bedroom). A sample array is: Array ( [0] => Studio [1] => 1BR ) I …

Web Development php
Member Avatar for diafol
0
145
Member Avatar for Danny159

Hey All, I am after a HTML select file that has all the UK towns and cities in it does anyone know of one? Dan

Web Development php
Member Avatar for Danny159
0
111
Member Avatar for Farhad.idrees

Hi i need to make logic..in ecommerce web.. When i add any item to cart so Items Session start... but the problem is if i add same any again to cart so when i will be implemented? i know i need to use multidimentional arrary...becuase of item id and price.... …

Web Development ecommerce php session
Member Avatar for Rhamises
0
110
Member Avatar for Mohan_dhawle

i am devloping one web application where am faceing problem, i want to use the value enter by user in textfield into one sql query in that program, and am unable to do that can anyone please provide me code for this??

Web Development php
Member Avatar for diafol
0
94
Member Avatar for MARKAND911

I have a panel named "listState" on my aspx page Now in that panel i have number of dropdowns. I want id of that all dropdownlist present in "listState" How can i do this using JQUERY I tried following code $('#<%=listState.ClientID%>').find("select") But it doesnt gives me id of all dropdownlist. …

Web Development javascript javascript-jquery
Member Avatar for touch_the_sky
0
145
Member Avatar for grabit

Hi Peoples I have been cobbling together a simple JS/CF gallery page that shows the thumbs down the page (a block of5 lines of 3)AND when you click on a thumb it changes the placeholder image with the larger image of the thum clicked on. My problem is that the …

Web Development javascript
Member Avatar for Taywin
0
154
Member Avatar for ankit.pandey3

[CODE]blinkOnNewMessage: function(dateObject, userID, userName, userRole, messageID, messageText, channelID, ip) { if(this.settings['blink'] && this.lastID && !this.channelSwitch && userID != this.userID) { clearInterval(this.blinkInterval); this.blinkInterval = setInterval( 'ajaxChat.blinkUpdate(''+this.addSlashes(this.decodeSpecialChars(userName))+'')', this.settings['blinkInterval'] ); } }, blinkUpdate: function(blinkStr) { if(!this.originalDocumentTitle) { this.originalDocumentTitle = document.title; } if(!arguments.callee.blink) { document.title = '[@ ] '+blinkStr+' - '+this.originalDocumentTitle; arguments.callee.blink = 1; …

Web Development flash javascript
Member Avatar for Taywin
0
105
Member Avatar for Aksel

Hi all :) I'm having some issues with getting the value of a textarea which I fetch with jquery's ajax function. I'm displaying some comments in my ajaxcontent. All the comments have a onClick quoting link which is supposed to send the id of the textarea which is to be …

Web Development javascript javascript-jquery
Member Avatar for Aksel
0
147
Member Avatar for calnastic

Hi I am trying to use a gridview to display information, providing update/delete functions. But I'm keeping getting error messages. This is the code: [CODE] <asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server"> <asp:GridView ID="GridView2" runat="server" AllowSorting="True" AutoGenerateColumns="False" AutoGenerateDeleteButton="True" AutoGenerateEditButton="True" DataSourceID="SqlDataSource1" DataKeyNames="name, number"> <Columns> <asp:BoundField DataField="name" HeaderText="name" SortExpression="name" /> <asp:BoundField DataField="number" HeaderText="number" SortExpression="number" /> …

Web Development asp.net
Member Avatar for kvprajapati
0
332
Member Avatar for fffkral

Hello! How can I send a form's informations to several php file...!? For example, a user with a form can to register several website or blog. I am waiting for your guidance and thanks!

Web Development php
Member Avatar for NinjaMediaD
0
154
Member Avatar for jacko_162

New user to Daniweb in the hope i can get some help cus my brain is fried. Im relitively a n00b at php but i can handle the basics, working with images is beyond me at the moment but im learning. I have the below code, which works. it uploads …

Web Development file-system image php
Member Avatar for jacko_162
0
268
Member Avatar for DarkBerzerk

im using SimpleCart script and when the custmer press the Checkout Button [CODE]<a href="javascript:;" class="simpleCart_checkout">Checkout</a>[/CODE] this code run [CODE] me.checkout = function() { if( me.quantity === 0 ){ error("Cart is empty"); return; } switch( me.checkoutTo ){ case PayPal: me.paypalCheckout(); break; case GoogleCheckout: me.googleCheckout(); break; case Email: me.emailCheckout(); break; default: me.customCheckout(); …

Web Development javascript php
Member Avatar for DarkBerzerk
0
126
Member Avatar for bubbafunk1

I have a jquery sliding image gallery and a lightbox gallery on the same html page. The only way i can get the sliding gallery to show in a browser on the page is to have the lightbox script placed above the slider script. This will make them both show …

Web Development javascript javascript-jquery
Member Avatar for Aisha_mdf
0
147
Member Avatar for httpgal

I'm having a strange problem with a website I'm working on. What I want to do is pass a SQL query variable (in this case cid) using a link, but for some reason it just isn't working. This type of query works just fine on other pages of this site, …

Web Development php sql
Member Avatar for httpgal
0
208
Member Avatar for titosd

Hello, I have a question/ I want to get the selected value from a form without submit, and then to use this selected values in another php file. i think if i can put the values in array, and then to register the array on a session, and the to …

Web Development php session
Member Avatar for diafol
0
147
Member Avatar for newmaster

Hi there! I am newbie in JS. I am making making class project and faced with some problems. I have found script (here) and learned. here is my problem: 1. not updating row number and row ID after deleting rows 2. not updating total sum if user change quantity 3. …

Web Development javascript
Member Avatar for newmaster
0
2K
Member Avatar for jogesh_p

hello friends, i want to get the class name from li tag for example [CODE] <ul> <li class="itme11"></li> <li class="itme21"></li> <li class="itme31"></li> <li class="itme41"></li> </ul> [/CODE] and i want to access the class item31 how do i get the class name item31 with javascript?? plz help me to solve out

Web Development javascript
Member Avatar for jogesh_p
0
131
Member Avatar for spectralbat

Hi guys, I'm in the process of learning PHP. I know the dribs and drabs and can kind of understand code when I read it, but I'm not to the point of being able to write an advanced script from scratch. I've been interested in chatbots and the concept AI …

Web Development apple mysql php
Member Avatar for Tomy300
0
2K

The End.