17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for aditi_19

I have a clientvendor.php file with various filters in it. This file directs to updateclientvendor.php file. Now updateclientvendor.php has a Back button to go back to clientvendor.php . When the back button is pressed, I want the page to go back and display the filtered information which is not displayed …

Web Development php
Member Avatar for Airshow
0
236
Member Avatar for sonia sardana

I want to just exit from the loop, I m facing the probs,see bolded part... [code]protected void btnSellProduct_Click(object sender, EventArgs e) { string sPath = Server.MapPath("~/"); string sFileName = sPath + "item.txt"; string[] sArr; string[] sArr2; int lCount; int lCurrentStock; int lSellingStock; if (File.Exists(sFileName.Trim()) == true) { sArr = System.IO.File.ReadAllLines(sFileName); …

Web Development asp.net
Member Avatar for sonia sardana
0
132
Member Avatar for Reliable

In other words, can I do this.. [CODE]<cd> <artist>Angella Christie</artist> <album>Hymn & I</album> <song>Blessed Assurance</song> <genre>Gospel Jazz</genre> [COLOR="Green"]<image> http://ecx.images-amazon.com/images/I/41TQV56BH0L._SL160_AA115_.jpg</image>[/COLOR] </cd>[/CODE] I'm asking because when I press "Get Schema" Dreamweaver gives me an "Expected entity name for reference(13,16). The "image" tag line is line 16.

Web Development javascript legal xml
Member Avatar for Reliable
0
72
Member Avatar for arajapandi

Hi , I installed apache,php, mysql ( [url]https://help.ubuntu.com/community/ApacheMySQLPHP[/url] ) After installing when i submit the form i can't get the form values. all values r empty. plz help me to resolve this problem?

Web Development apache first-post php ubuntu
Member Avatar for arajapandi
0
154
Member Avatar for zeusofolus

Hello All, I am fairly new to PHP ... I am trying to build a basic order form for a small wholesale database and am completely stuck. The function of this page is display items and their price from the database along with an input box that will allow the …

Web Development mysql php session
Member Avatar for zeusofolus
0
753
Member Avatar for chuffman

Hello, What I am trying to do is show or hide a div when a user clicks the link, but I have multiple divs that belong in the same place so when the user clicks a link it needs to hide the current div, if there is one, and then …

Web Development javascript
Member Avatar for chuffman
0
109
Member Avatar for UnforsakenX

I'm trying to figure out how to get results from a database query to be displayed on a listed page and if the user wants to know more about the results they will click one of the dynamically generated items that is hyperlinked. This will then bring the user to …

Web Development asp.net java-jsp perl
Member Avatar for UnforsakenX
0
109
Member Avatar for whiteyoh

Hi all, This is an error im recieving on server, BUT, no error on local hostWarning: mysql_fetch_array(): supplied argument is not a valid MySQL result line 49 This is the code it is referring to.... [CODE] <?php $sql_query = "SELECT * FROM `indexinfo` WHERE id = '1'"; //store the queried …

Web Development mysql php
Member Avatar for whiteyoh
0
76
Member Avatar for josi.martarelli

Hello Everyone, I'm quite new to Linq and have had some problems updating my dabase. I don't know if it is actually happening for be using a global data context or I'm missing something. I have my typed DataContex and one Static Public Var to initialize it located within the …

Web Development asp.net sql
Member Avatar for rafaelbelliard
0
112
Member Avatar for dnanetwork

Hi there all... i'm implementing Authorize.net and i wanna know... do i need to add a web reference i.e web service... or do i need any .dll files.....?

Web Development asp.net
Member Avatar for sknake
0
162
Member Avatar for cVz

Hi I am writing a web application with VS 2008 standard edition. I just got this really weird error. I replaced a few of the controls on the form from labels to text boxes, and it worked fine , but all of a sudden it shows me the old controls …

Web Development asp.net visual-studio
Member Avatar for cVz
0
138
Member Avatar for memegha123

can anybody tell me how do i create a link that forces a .doc file to download on the client computer or if that's really difficult to do without a ftp server.. then how can i display the file in browser as pdf

Web Development client-server java-jsp pdf
Member Avatar for memegha123
0
91
Member Avatar for tulipputih

Hello everybody, anyone can help me with this problem? instead of just display the child (in array)..echo $Valuechild[$i]."; "; (see the below code)..I would like to make a link from $Valuechild[$i] to a details of that variable.. [code=php]<TEXTAREA NAME="comments3" style='width:50%' rows='4'> <?php for ($i =0; $i < $ValuenumtableChildren; $i++) { …

Web Development php
Member Avatar for tulipputih
0
4K
Member Avatar for Grantmitch1

Hello Daniweb Community, Now im trying to make a website and have just thought that if it manages to succeed it will of course get much larger as will the navigation. As such I thought using the <?php include("navigation.php"); ?> would be a good idea. That way the navigation is …

Web Development php
Member Avatar for darthvegan117
0
163
Member Avatar for mohamed1

Hi all :) :rolleyes: :confused: redirect user to another page in some sites if i typed address wrong it redirect me to another page in site home page for example instead of error page 404 appears to me is it should have Global.asa is there another way please help

Web Development asp
Member Avatar for tomer1
0
164
Member Avatar for mimsc

I did a google search and found that PHP uses: $_SERVER['HTTP_USER_AGENT'], which would give the following result, should I visit a page: [code] Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_5_6; en-us) AppleWebKit/528.16 (KHTML, like Gecko) Version/4.0 Safari/528.16 [/code] is their any functionality in java that will do the same?? …

Web Development java-jsp os-x
Member Avatar for ThinkFree
0
98
Member Avatar for diafol

Hi all, didn't know into which other forum this should be posted, none of them seemed obvious, so I've placed it here. Here's my problem: I've got a domain ([url]www.example.com[/url]) registered with a host, let's call them 'smallhost', and I've got a website with my custom admin section there. Recently …

Web Development dns php web-server
Member Avatar for diafol
0
95
Member Avatar for pt0909

I 've a search page in vs2008 c# , with multiple controls when user make some selection i need to pass it ot report Do anyone has a good tutorial?/ how can I build a sql /Parametetrs and pass it to report.

Web Development asp.net
Member Avatar for Ramesh S
0
99
Member Avatar for iThaos

Hey thanks for reading this. Say I have 3 classes and I want to combine those class into a core. Example [code=php] <?php class One { public function get_me(){ echo 'Hello from class One. '; } } class Two { public function call_me(){ echo 'Hello from class Two. '; } …

Web Development php
Member Avatar for iThaos
0
114
Member Avatar for alsoumhi

hi all , my question is how to create a hypertext link in servlet so if the user click it, it shows another web page or a message .

Web Development java-jsp
Member Avatar for Thirusha
0
86
Member Avatar for CFROG

Okay, I'm sure this is an easy one for you guys. You guys really know your stuff and it just seems easier sometimes to go straight to the source then to google and experiment for God knows how long. Forgive me for my ignorance of php. that's just the way …

Web Development php
Member Avatar for CFROG
0
108
Member Avatar for php_noob

Guys, I need Help in making PHP APACHE and MS SQL SERVER 2000 to run. I search a lot but still can not get the logic behind it. All that I understand is that I need to configure something in the PHP INI. Is it possible in XAMPP? or I …

Web Development apache mssql php
Member Avatar for php_noob
0
305
Member Avatar for aashishn86

hiii i am using the following functions in javascript to dynamically add and remove rows from a table... [code] function addRow() { //add a row to the rows collection and get a reference to the newly added row var newRow = document.all("applications").insertRow(); //add 3 cells (<td>) to the new row …

Web Development asp sql
Member Avatar for punitdam
0
168
Member Avatar for sarithak

Hi frnds... Here i am going to uploading image from my system to ftp.. the below code works correctly in localhost...But, when i use FTP ,it doesnt work..it display error. [CODE] Warning: move_uploaded_file(photos/Endeavour123.jpg) [function.move-uploaded-file]: failed to open stream: Permission denied in..... Warning: move_uploaded_file() [function.move-uploaded-file]: Unable to move 'c:\WINDOWS\Temp\php4DA.tmp' to '..' …

Web Development file-stream image php
Member Avatar for sarithak
0
107
Member Avatar for Julia25

i posted this question in other forum but no luck so far, i found a link that has the same goal as i am but dont know how modify this [url]http://www.verysimple.com/blog/wp-content/uploads/2007/01/resize_css.html[/url] my goal would be in reverse when enlarge (window browser dragging) my div will decrease size (width) when enlarge …

Web Development javascript
Member Avatar for Julia25
0
134
Member Avatar for ctyokley

Hi, I get the error: Format of the initialization string does not conform to specification at Index 33. I was hoping if someone could help me on this situation. The code is listed below. [code] 'code Imports System.Web.Mail Imports System.Data Imports System.Data.OleDb 'end code Partial Class _Default Inherits System.Web.UI.Page 'set …

Web Development asp.net open-source
Member Avatar for ctyokley
0
150
Member Avatar for SID.SIL

Hi guys I am using a ModalPopUpExtender with a GridView and it´s working corretily. I Click in the "Select" collumn to open the ModalPopUp to view the data of the colluns. In the panel I have a "Save" button and the routine to save the data is not working actually …

Web Development asp.net
Member Avatar for Ramesh S
0
117
Member Avatar for UncleJoe

I'm all hosed up...most of this is pretty new to me, so please forgive my terminology. I'm using scriptaculous for the DnD stuff. Using AJAX I'm returning a variable from the server. The variable can be verified using alert(variable), but when I pass the variable as an argument it isn't …

Web Development javascript php
Member Avatar for UncleJoe
0
212
Member Avatar for CFROG

For the life of me I can't get the current date to insert into my table. I would like a "submitted date" to be stored upon the creation of the record. I've tried countless different ways to achieve this and every time I get no results in the table, just …

Web Development php
Member Avatar for CFROG
0
153
Member Avatar for aliensXY

I have some texts in my database. Each text has its own id. My job is to print all texts to a website and add a button to each text. Button will delete appropriate text from the database. So, I created a for loop so I can print all texts …

Web Development asp.net
Member Avatar for aliensXY
0
304
Member Avatar for Alex_

Hello. I'm starting to have a headache at solving this. I work in Eclipse IDE and run the project on tomcat server. What i do is this: i have a form, like this: [code=html] <form method="GET" action="http://localhost:8080/BookShelf/ComputeSearch"> <p>Book <input type="text" name="book" size="7"/></p> <p>Chapter <input type="text" name="chapter" size="5"/></p> <p>Verse <input type="text" …

Web Development apache ide java-jsp
Member Avatar for Alex_
0
120
Member Avatar for Venom Rush

Hi everyone I have a menu that I'm creating dynamically with links that have query strings on the end of them. Basically I want the menu item, that's related to the page the user is on, to be in a different colour to the rest of the menu items. An …

Web Development php
Member Avatar for Venom Rush
0
2K
Member Avatar for sharao

i am checking the checkbox is checked r not by using following code.... if the condition is true i have to checked another box in runtime using docuemnt.form... or document.getElementById like...document.form.chkbox2=checked like that... [CODE]if(document.form.chkbox1.checked){ // }[/CODE]

Web Development javascript
Member Avatar for sharao
0
105
Member Avatar for bubbleT

Hi need help to solve refresh problem I have a main webpage with a button. Once the button is clicked, a popup dialog (web form) is prompted. Once user click 'OK' in this dailog, data saving is performed and I need to close and refresh the main webpage. How do …

Web Development asp.net
Member Avatar for bubbleT
0
115
Member Avatar for K?!

Hi all I'm am using Netbeans 6.5 on ubuntu for programming PHP. When I create an instance of a class and type "->" after the variables name, I don't get to see any methods. Even when I press CTRL-Space, it only says "No suggestions"... Code templates do work (like typing …

Web Development php ubuntu
Member Avatar for K?!
0
163
Member Avatar for mthobisil

Hi, im doing a website with master page, i hide and show some images every now and then on the master page, when i hide and show without redirecting to another page it doesnt give me any problems, but when i navigate to another page i lose the hide and …

Web Development asp
Member Avatar for mthobisil
0
220
Member Avatar for vishalkhialani

Hi, Please see below code which I need to understand. I tried to find information on the php site and the manual and the php book I have but could not find it. Wht does this mean " => " [code=php] function emailusers_menu() { $item('admin/emailusers/compose/%')= array( 'title' => 'Compose a …

Web Development php
Member Avatar for vishalkhialani
0
132
Member Avatar for srikanthkadem

Hi All, i want send sms to any mobile in india through my application.i tried using webservice in weservicex.net(not sure?) .bt it's not working.i dont want pay money as this is is very small project.so can any one plz help hw to send sms.any free gateway providers. thanks in advance. …

Web Development asp asp.net c#
Member Avatar for virtuelabz
0
193
Member Avatar for CFROG

I'm new to PHP and I'm some trouble writing to multiple tables from the same form. When I run the following script it will not write the data to XINFO but it will write to ATTRIB1. If I take ATTRIB1 out of the script it will work properly and once …

Web Development php
Member Avatar for CFROG
0
285
Member Avatar for Jintu

[code] <html> <head> <title>Grade Calculator</title> </head> <?php ?> <body> <?php $grade = $_POST["Quiz1"] * 0.05 + $_POST["Mid-Term"] * 0.30 + $_POST["Quiz2"] * 0.05 + $_POST["AL1"] * 0.05 + $_POST["AL2"] * 0.05 + $_POST["Participation"] * 0.10 + $_POST["Final"] * 0.40 ; ?> <?php echo "Grade Report: <br />"; echo "<br />"; …

Web Development php
Member Avatar for Jintu
0
3K
Member Avatar for enireka108

i am doing an assignment in programming javascript...and i'm stuck in a problem. It asks to automize a system over the internet to rent a car. the company has overall 8 cars from which 4-are air conditioned and 4- are not. the program should ask the user to press 1 …

Web Development javascript
Member Avatar for nccsbim071
0
87
Member Avatar for cVz

Hi I have a form with 1. dropdown (ddTTDBenefitP1) 2. label (lblBenefitPeriodFactor1) The combobox is populated with listitems [Text & value] I applied attributes to this dropdown. [code=C#] // ddTTDBenefitP1 ddTTDBenefitP1.SelectedIndex = 0; string ddTTDBenefitP1_script = string.Format("javascript:document.getElementById('{0}').innerText = {1}.options[{1}.selectedIndex].value;", lblBenefitPeriodFactor1.ClientID, ddTTDBenefitP1.ClientID); ddTTDBenefitP1.Attributes.Add("onChange", ddTTDBenefitP1_script); [/code] So when a user changes the …

Web Development asp.net
Member Avatar for dnanetwork
0
146
Member Avatar for EvilOrange

Does PHP have a built in function that will allow me to find the size of a 2D array without having to first having to loop through the array and hitting a NULL (C style) When i say size i mean the number or rows in a 2D array. many …

Web Development php
Member Avatar for guru12
0
112
Member Avatar for ayesha789

Hi, All when I insert the date in MySQL the format is 2009/07/13 and when I use SELELCT query it shows in the same format 2009/07/13. But I need to show in the Format 13-Jul-2009. [CODE]$result = mysql_query("SELECT Date FROM leaseentry WHERE SiteId REGEXP '$a'");[/CODE] Please guide me.

Web Development php
Member Avatar for ayesha789
0
378
Member Avatar for culebrin

Hi, I have a gridview that has a fileupload (fupRespuesta) control in a itemtemplate field, I need to enable automatic upload after file is selected. Then I added a imageButton (imgRespuesta) in the template field and added its event with addhandler... Well my problem is that when I uncomment the …

Web Development asp.net web-server
Member Avatar for culebrin
0
466
Member Avatar for dwdata

Hello, I have a few Text Area input fields when I want to allow my users to enter text with hard returns. On my process page, I am using: [CODE]$Note = addslashes(nl2br($_POST['Note']));[/CODE] to convert the strings to be able to be pushed to my mySQL DB. This functions great. I, …

Web Development php
Member Avatar for dwdata
0
111
Member Avatar for EdTheUniqueGeek

I was hoping someone could help me with this. Here is my web site: [url]http://ectech.info/[/url] The footer of this site that shows my copyright moves around, depending on your monitor resolution, and does not stay centered with the page itself. The footer information is show in the page source. Can …

Web Development php
Member Avatar for EdTheUniqueGeek
0
142
Member Avatar for pbt

I am doing a campus project in php regarding musical site and i have to insert ziped files of songs in the database. so, i don't know how to deal with the zip files. Therefore, help me.

Web Development mysql php
Member Avatar for somedude3488
0
98
Member Avatar for ashkan3030

[code]<asp:Image ID="Image2" runat="server" ImageUrl='~\\Images\\thumbnail\\<%# Eval("brand")%>\\<%# Eval("thumbnail")%>' />[/code] I tried several times with different types and didn't succeed.I want to bind two data from sqlserver database and put them in Image URL continuously. Which the brand is something like "Dell" and thumbnail is "123.jpg" What is the correct form ? Please …

Web Development asp.net
Member Avatar for ashkan3030
0
132
Member Avatar for nipa.pillai

Below is the scenario.. First Page Second Page Radio button 1 Radio button 2 Submit. I select the first Radio Button and submit and then i go to second page where i have some content. Now when i go back to first page the same radio button which i had …

Web Development java-jsp session
Member Avatar for kvprajapati
0
255

The End.