52,566 Archived Topics
Remove Filter ![]() | |
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 … | |
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 | |
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 … Web Development career javascript javascript-jquery | |
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 | |
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 | |
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 … | |
i want to connect jsp with mysql , plz send me the connectivity code or any connectivity program............... Web Development java-jsp | |
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" %> … | |
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 | |
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 | |
[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) … | |
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 | |
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 | |
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 | |
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 : ' … ![]() | |
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 | |
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 | |
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 | |
[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) … | |
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 … | |
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> … | |
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 | |
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 | |
[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 | |
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 | |
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? | |
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 | |
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 … ![]() | |
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, … | |
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 | |
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 … Web Development apache api client-server coldfusion web-server xml | |
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] … | |
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 … | |
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 | |
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 | |
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 | |
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 | |
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 | |
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 = … | |
![]() | 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 ![]() |
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 … | |
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 ![]() | |
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 | |
[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 | |
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 | |
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 | |
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 … Web Development asp asp.net data-protection encryption first-post session vb.net visual-basic web-server windows-server xml | |
[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 | |
I am new to php environment.... so guide me..... thanks friends........ ![]() | |
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 ![]() |
The End.