52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for ecrockers

Hi all, I need your help.I have a textbox and combox with button functioning completely as search option which is working fine. when i go to the next page and come back to the previous I want to retain the search condition which i selected previously.What I am doing now …

Web Development asp.net session
Member Avatar for ecrockers
0
106
Member Avatar for toocoded

Hi everyone, I really need to figure out how to manipulate the Multiview control with a dropdown list control. Also, what is the C# equivalent to this VB Code [CODE] MultiView1.ActiveViewIndex = RadioButtonList1.SelectedValue[/CODE]The following does not work... [CODE] MultiView1.ActiveViewIndex = RadioButtonList1.SelectedValue; [/CODE] Anyone please help, i'm coding with C# and …

Web Development asp.net vb.net visual-studio
Member Avatar for kvprajapati
0
171
Member Avatar for Froger93

Hello again, After my previous post I have tried to convert all my jQuery into JavaScript with success. UNTIL I looked at it in Internet Explorer and again it threw a wobly and is now having a go at my [icode]--.style.display='block'[/icode]'s. It says that it is not a function. So …

Member Avatar for almostbob
0
106
Member Avatar for Coleman0610

Okay, I"m developing a program for community service for a local company. It is my first point of sale but I'm only seeing one complication. I've chosen php and it will be storefront only. The Reason its php is because they want to allow vendors to view how much they've …

Web Development php
Member Avatar for JRM
0
86
Member Avatar for egoche

Please bear with me as I'm new to PHP. Yesterday, I was working on an HTML form and everything was working fine (PHP would process the information and send an email as expected), but when I started this morning nothing happens. A couple weeks ago I installed WAMP using mostly …

Web Development php
Member Avatar for egoche
0
120
Member Avatar for LloydFarrell

hi all im looking to use a select mysql query - but im trying to query the database against a users logged in sessions. I have the sessions working correctly but I am unsure how to included the session data in my sql select query. here is my users session …

Web Development mysql php session sql
Member Avatar for qazplm114477
0
7K
Member Avatar for p_jain

i want to connect jsp with mysql , plz send me the connectivity code or any connectivity program...............

Web Development java-jsp
Member Avatar for jwenting
0
99
Member Avatar for lisles

im working with asp.net 2.0 and im using master pages.i have a link to a pdf file...when i click on the link i want the pdf to open within the contentplaceholder.im using iframe within the content placeholder.my master page code is below: [code] <%@ Master Language="C#" AutoEventWireup="true" CodeFile="jm.master.cs" Inherits="jm" %> …

Web Development asp.net html-amp html-css pdf
Member Avatar for kvprajapati
0
917
Member Avatar for ans2007kumar

if i used this [CODE]<authentication mode="Forms"> <forms loginUrl="Default.aspx" timeout="90" /> </authentication> <authorization> <deny users="?"/> </authorization>[/CODE] so that unauthorized user do not access the content then the Default page do not show any images in the login page i have to use this in order to do so [CODE]<authentication mode="Forms"> <forms …

Web Development asp.net
Member Avatar for ans2007kumar
0
81
Member Avatar for Agent Cosmic

Hi, I need some help detecting the escape character ''. It doesn't show up when it's in a string. I'm trying to convert '/' into '&&' and '\/' into '||'. Help is much appreciated. Thanks.

Web Development javascript
Member Avatar for Agent Cosmic
0
291
Member Avatar for niths

[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) …

Web Development php session
Member Avatar for nav33n
0
89
Member Avatar for lak123

How do I use hour glass in java script? I have a jsp page, I'm calling in the javascript when I click the submit button like below. [CODE]function show(table) { document.forms["form1"].action ="employee.do?"; document.forms["form1"].submit(); document.forms.style.cursor = 'wait'; }[/CODE] [CODE]jsp Page: <html:form action ="/doemployee" method ="post"> <table> <tr> <td> <input type="button" name="emp" …

Web Development java-jsp javascript
Member Avatar for fxm
0
207
Member Avatar for cityportalguy

Hello All, I'm new to DaniWeb. I am trying to find php programmers and a website designer to help with a city portal website. I have created a php yellowpages, event calendar, coupon section. Real Estate, Dining, Shopping, and Hotel and Motel guide also. I have an advance user login …

Web Development api daniweb-api google-api php xml
Member Avatar for vijju0987
0
199
Member Avatar for bbxrider

I'm using the GetOleDbSchemaTable to get column info from an access db, column_name and description, but can't figure out how to bind just the 'DESCRIPTION' and 'COLUMN_NAME' columns from the table of info returned. below is what doesn't work, it produces grid columns for all the schematable columns, about 25 …

Web Development asp.net
Member Avatar for bbxrider
0
85
Member Avatar for raede

hi,can anyone plz help me..the coding wuz ok,it generate the image from in my directories except it shows a blank image...i don't know wats the prob,plz help me... here is the coding... <?php // connect to mysql server $link = mysql_connect('localhost', 'root', 'abc123'); if (!$link) { die('Not connected : ' …

Web Development image php
Member Avatar for rajarajan2017
0
7K
Member Avatar for aneeka

How can I join MySQL tables from different databases when the only similar field is the primary key of the first table in Php?

Web Development php
Member Avatar for urtrivedi
0
115
Member Avatar for Decency

Hi all i need to know if there is by a way by any chance to delete unused images from my virtual directory or wwwroot folder dunamically on the user request using php ? thank you all

Web Development php
Member Avatar for charvie
0
238
Member Avatar for codewalkz

Hi, I need something like recursion wherein the query repeats itself using it's result to start the NEXT - SAME - QUERY. I made 1 but it just simple reecho the same result. [CODE]// KUNIN ANG ID NI KURIMAW $root = $_GET['id']; $result = mysql_query("SELECT COUNT(*) as count, id, sponsor …

Web Development php
Member Avatar for codewalkz
0
156
Member Avatar for niths

[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) …

Web Development php session
Member Avatar for jonathanroy
0
165
Member Avatar for simiking

Hi all, I'm having problems passing my variables using thru the url. Here's the code. [CODE =php] $connection = mysql_connect($dbhost, $dbusername, $dbpassword) or die (mysql_error()); mysql_select_db($dbname, $connection); //i use this line to test that variable id has been passed. //this also happens to be the error point $test = "select …

Web Development apache php
Member Avatar for colweb
0
113
Member Avatar for D4n1sD

For example. You got 1 list with 3 options. a b c once someone select a it instantly appears a text through php under the list or above it. Without to reload or anything else. I have seen it before 100%. pseudo code [CODE] <li> <option 1> a</o> <option 2> …

Web Development display php
Member Avatar for BzzBee
0
177
Member Avatar for mahe4us

Dear All, Sorry for my frequent questions in this forum. I have came here with a lot of questions. I need help in socket programming in php. For example, Lets consider I have a ip number and port number. Using this ip and port values i want to send a …

Web Development php socket-programming
Member Avatar for BzzBee
0
183
Member Avatar for star_lavender

hi...anyone got ideas on the drop down list and jgraph?actually everything goes well at first but after I add the drop down list code for selection to sort the graph based on year, the graph didn't show in the same page??anyone know how to solve this problem?? part of the …

Web Development php
Member Avatar for star_lavender
0
241
Member Avatar for Feenix45

[CODE]<?php //redirect the user to login if session is invalid include("validate_session.php"); $alert =0; $userid=$_SESSION["userid"]; //Connecting to database include("db_connect.php"); foreach ($_POST as $key => $value) if (substr($key,0,8) =="txt_chk_") { $alert =1; $itemid=substr($key,8,3); $purtime=substr($key,11,8); $purdate=substr($key,19,10); $itemdate=substr($key,8); foreach ($_POST as $key1 => $value1) if ($key<>$key1) { $tempstr= substr($key1,0,strlen($key1)-strlen($itemdate)); if (substr($key1,strlen($tempstr))==$itemdate) { if ($tempstr=="txt_qty_") …

Web Development html-css javascript php session
Member Avatar for kek1205
0
132
Member Avatar for whiteyoh

Hi All, I have an API key for google maps and its giving me the following response. My first question is, how can i extract the data? Normally i work with XML responses via CURL so im new to this. If i do use the XML example i just get …

Web Development api google google-api php xml
Member Avatar for whiteyoh
0
200
Member Avatar for rukshilag

i have downloaded and extracted fpdf into my root folder site folder.. i want to know how i can generate a pdf file when i press a button called print. please help? and wehre do i put this fpdf code? is it in the script that contains the output?

Web Development html-css pdf php
Member Avatar for rukshilag
0
217
Member Avatar for veledrom

Hi, There is a webform which manipulates a lot of database tables after submit action by a user. Is there any easy way of finding out which tables have been affected after the process? Database has 259 tables and php pages and classes are very messy and complex. Also no …

Web Development php
Member Avatar for veledrom
0
65
Member Avatar for loloy123

Hi, Ive been at this all weekend and can't figure it out.... I need to take it name and 3 results via a form and store this in a mysql database - done. Then I need to print on screen via php who got the highest score. The highest score …

Web Development mysql php
Member Avatar for rajarajan2017
0
491
Member Avatar for picador

Hello all, I'm new here :) After I upload new .mo file on the server I get blank page after first few refreshes, like server cache the old file... After that everything seems to be ok. I use slackware, lighttpd 1.5, PHP5... I thought that only apache server does caching, …

Web Development apache caching php slackware
Member Avatar for picador
0
87
Member Avatar for user1980

Hello there.. I have a custom validator for my text boxes. the code is as below.. Expand|Select|Wrap|Line Numbers [CODE] <asp:CustomValidator ID="CustomValidator3" runat="server" ControlToValidate="text1" ErrorMessage="Please enter text1" ClientValidationFunction="ClientValidate3" ValidateEmptyText="true" ValidationGroup="Submit" onservervalidate="CustomValidator3_ServerValidate" Display="Dynamic" SetFocusOnError="false">*</asp:CustomValidator> [/CODE] [CODE] function ClientValidate3(sender, args) { var txt1 = document.getElementById("<%= text1.ClientID %>"); var txt2 = document.getElementById("<%= text2.ClientID %>"); …

Web Development asp.net
Member Avatar for user1980
0
525
Member Avatar for saisunil1978

Hi, I am facing a problem in capturing and retreving data from a webmethod response.I am calling web methods on remote server.So I have included the web reference of the webservice in my Vs2005 solution.But the main problem is the webmethods are returning custom Array datatypes.The coustom data types are …

Member Avatar for nn pp
0
205
Member Avatar for whitestream6

I've got my pagination script working, but now I need help trying to get it to extract data from 2 different sources. The episode data is stored in table episodes, whilst the main table (where the info on airdates for episodes is stored in epdata2). This is my code: [CODE] …

Web Development mysql php
Member Avatar for sourcebits
0
159
Member Avatar for singju

Hello Everybody, I have stored images in ms access. The field name is "image" and the data type is OLE Object. I have stored an image with ".bmp" extension. In the database in the record it is showing "Bitmap Image". Now I am using JSP to retrieve this image and …

Web Development image java-jsp
Member Avatar for parry_kulk
0
259
Member Avatar for itslucky

Dear Friends, im creating a website in which i get a response of my XML request from server. Searchhotel.aspx create the [B]request[/B] and listofHotels.aspx get the [B]response[/B] on its Page_Load event. Currently when i click on Search button from Searchhotel.aspx page it remains on Searchhotel.aspx Page and only display listofHotels.aspx …

Web Development asp.net javascript xml
Member Avatar for rohand
0
116
Member Avatar for fawadkhalil

Hey all I have a form with update panel, Drp Down and Text boxes and requered Field Validators.There is also a button that do post backs. Validation group of Field Validators and button are same. When page loads and i submit data validators appear. After i select data or change …

Web Development asp.net
Member Avatar for rohand
0
1K
Member Avatar for sonia_demo

hello friends, I want to [B]display only those images which are checked.[/B] I had tried so many times but no use. when I checked any images. it displays only [B]last[/B] image. can any tell me where is the problem here is the code. display.php <?php $i=0; $connect = mysql_connect('localhost','root','') or …

Web Development php
Member Avatar for sonia_demo
0
81
Member Avatar for inAweofOOP

Hi all, I am getting this [I]UnauthorisedAccess Exception[/I] when I try to delete a file using the File.Delete() method...I hav permitted full control to NETWORK SERVICES, IUSR_(user name) and ASP.NET Machine Account on the folder that contains the file to be deleted..i'm stumped..i even tried impersonating user (administrator) in the …

Web Development asp.net file-system
Member Avatar for rohand
0
1K
Member Avatar for aks_1

i am trying to deploy a .war file on my local server using sun microsystem's application server. the problem i am having is when i try to launch it in the address bar as: [url]http://localhost:8080/HelloServlet/[/url] it shows the [B]directory listing for/[/B] text on the screen. but when i insert /hello …

Web Development apache java-jsp web-server xml
Member Avatar for jwenting
0
123
Member Avatar for Stefano Mtangoo

Hi all, I have been running errors too much that I realized that I have learned 'bad' behaviour in writting PHP query. So I decided to change. Please tell me what is good behaviour of writting queries that involve PHP variables as well as functions like one below. [CODE=php]$query = …

Web Development mysql php
Member Avatar for Stefano Mtangoo
0
184
Member Avatar for Elemen7s

Hi all, I used this method (link below) for my website, which works like a charm. [url]http://www.daniweb.com/forums/thread277139.html[/url] Now some of my website structure is : index.php contact.php mail-sender.php - ( script to send emails) template/wide_panel.php - (template where the content is) content/wide_panel/contact.php -( the content of the contact.php) content/wide_panel/error_invalid-email.php - …

Web Development php
Member Avatar for Elemen7s
0
115
Member Avatar for Moemasri

Dear all am new in programmimg this is my next year at the university the tutor asked us to make an asp.net project about e-learning, he wants toopen a web page and a must play showing a video, i searched on the net and i downloaded a flash control.dll file …

Web Development asp asp.net flash
Member Avatar for dnanetwork
0
97
Member Avatar for virspy

Hi , this is shafi, i want small help here is the sample site [url]http://www.tailorstore.com/in/en/tailor-made-shirts[/url][B][/B] in this site he is using 3D model and loading fabric ... and i want help like how is loading fabric ... and it should without any 3d softewere... how we can do it... cn …

Web Development php
Member Avatar for rajarajan2017
0
97
Member Avatar for Helleshtern

Hello! I have a script to update multiple rows in database but it update [B]all[/B] and I need to [B]only values in checked rows[/B] be updated. What should I change to update only checked rows? [CODE] <?php include 'connect_db.php'; $sql="SELECT * FROM $tbl_name"; $result=mysql_query($sql); // Count table rows $count=mysql_num_rows($result); if($_POST['Submit']) …

Web Development php
Member Avatar for Helleshtern
0
3K
Member Avatar for niths

[QUOTE]hi all, in my insert project page wen i am above to insert project if the project size is greater than the allocated size then it should display some alert message,but my code not displaying anything.so please check my code. Thank u.[/QUOTE] [CODE]<?php $id=$_GET['f1']; @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid,$projectname,$filename,$size,$allocatedmemory,$answer,$usedmemory); $con=mysql_connect("10.70.1.248","invensis","invensis"); if(!$con) …

Web Development php
Member Avatar for prem2
0
79
Member Avatar for ds2r

I have two php files. index.php [code] <html> <head> <script type="text/javascript"> function openG() { window.showModalDialog('profile.php'); } </script> </head> <body> <input type="button" value="Press" onClick="openG()"/> <?php extract($_GET); if(isset($yes)) echo $yes; ?> </body> </html> [/code] and a profile.php file [code] <html> <head> <script type="text/javascript"> function woot() { window.close(); } </script> </head> <body> <form …

Web Development javascript
Member Avatar for parry_kulk
0
216
Member Avatar for QWaz

Hi, I am having real trouble trying to figure out how I can add multiple rows into a MySQL database at one time. I have a form where the person selects a number from the drop down options. then I need to add that amount of new rows into a …

Web Development php
Member Avatar for QWaz
0
116
Member Avatar for Slade

This article will inform you more about forms Authentication using ASP .NET and Visual Basic .net (VB .NET). Before I continue I must stress that the web.config is xml and must be used with extreme sensitivity in mind. All tags must be closed etc. or else you will end up …

Member Avatar for kvprajapati
0
3K
Member Avatar for jamshed ahmed

[CODE] protected void Page_Load(object sender, EventArgs e) { int nCount = 0; nCount = GetCounterValue(); txtDate.Text = DateTime.Now.ToShortDateString() + "---" + DateTime.Now.ToShortTimeString(); txtAgentName.Text = User.Identity.Name; } private int GetCounterValue()>>>HERE IS THE ERROR not all path code return value { StreamReader ctrFile; FileStream ctrFileW; StreamWriter sw; string Path = Server.MapPath("Counter.txt"); string …

Web Development asp.net
Member Avatar for Sals
0
139
Member Avatar for babusomu
Member Avatar for rajarajan2017
0
118
Member Avatar for Darkicon

I'm very new to PHP so I'm still learning how to do stuff. I cannot figure out what is wrong with this code: [CODE=PHP] if($row->played_time >= 60){ $time = round($row->played_time,2) / 60 " mins";} elseif($row->played_time >= 3600){ $time = round($row->played_time,2) / 60 / 60 " hours";} elseif($row->played_time >= 86400){ $time …

Web Development php
Member Avatar for rajarajan2017
0
146

The End.