52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vuyiswamb

Good Morning All For you to help me and understand my problem, i will have to explain everything in details. I have a usercontrol with with a textbox, this texdtbox changes values so am trapping the values on textchange. so i have set it to "Autopostback="true"" in the usercontrol and …

Web Development asp.net
Member Avatar for serkan sendur
0
116
Member Avatar for prasannav

It is an asp.net web application with following specifications: Wndows Xp o/s, IIS 5.1, asp.net frame work is 1.1, VB is server side script, SQL Server 2000 Enterprise edition. An asp.net datagrid control is dynamicaly populated with sql server 2K database table data by VB Script. The page numbers are …

Web Development asp asp.net web-server
Member Avatar for serkan sendur
0
436
Member Avatar for cjay175

Hi there all, I want to grab information from an url with anchors and I suppose this can't be done with php, as ive been told and that it would have to be done with javascript. I am wondering if anyone knows the code to grab the url and anchor …

Web Development javascript
Member Avatar for cjay175
0
468
Member Avatar for coolmind259

Hi there, I am using a javascript code to refresh a page. <code> window.location.href=""; </code> this code refereshes the whole page and focus goes at the top of the page but I want the focus of the page at the same place where I perform refresh. Actually I am using …

Web Development javascript
Member Avatar for Airshow
0
272
Member Avatar for tanmoy_india

How to create a Rotating Image Frame with Navigation Menu like this:[URL="http://s3.amazonaws.com/satisfaction...Nav_inline.jpg"]http://s3.amazonaws.com/satisfaction...Nav_inline.jpg[/URL] like from the site: marthastewart.com what is the code for creating image rotation like this?????plzzzzzzz

Web Development image javascript
Member Avatar for tanmoy_india
0
161
Member Avatar for Kelicula

I need to include a "variable" in my regex that will be different each time it is called. Very fustrated, this would have taken 2 seconds in Perl. Here is my code: [code=javascript] for (y=0; y < response.length -1; y++){ var _row = response[y].split(':'); var str = "_row[1]"; if(str.match("/^"+_inputText.value+"/i")){ _responseText …

Web Development javascript perl regex
Member Avatar for itsjareds
0
13K
Member Avatar for lamiv007

[CODE]<?php // This script and data application were generated by AppGini 4.3 // Download AppGini for free from http://www.bigprof.com/appgini/download/ include(dirname(__FILE__)."/defaultLang.php"); include(dirname(__FILE__)."/language.php"); include(dirname(__FILE__)."/lib.php"); include(dirname(__FILE__)."/tcg_dml.php"); // mm: can the current member access this page? $perm=getTablePermissions('tcg'); if(!$perm[0]){ echo StyleSheet(); echo "<div class=\"error\">".$Translation['tableAccessDenied']."</div>"; echo '<script language="javaScript">setInterval("window.location='index.php?signOut=1'", 2000);</script>'; exit; } $x = new DataList; $x->TableName …

Web Development asp php
Member Avatar for ShawnCplus
0
176
Member Avatar for learnerasp

Hi there, I have a div tag and working fine till yesterday. Just now I found out a problem which has to be rectified quickly. I have a div tag. When time out is approaching then we need to pop up the message using div tag. Everything is working fine. …

Web Development javascript session
Member Avatar for Airshow
0
172
Member Avatar for ganmo

Hello I've a question when creating a class with functions. e.g. [CODE=javascript] function constructor() { this.myFunc = function() { return "Hello World"; } } [/CODE] do I have to write the function in that way? this.funcName = function() for every function in that class? Because when I tried to write …

Web Development javascript
Member Avatar for Airshow
0
111
Member Avatar for Cheif Druid

Hi everyone, I'm embarrased to ask as I am so new at this but here goes anyway: I have been trying to create a simple secure login screen that when successfully logged into, will allow the user access to other services. I found, modified a good tutorial and all works …

Web Development php session
Member Avatar for Cheif Druid
0
67
Member Avatar for navi17

hi everyone. i just want to know about 3 tier architecture. can we achieve 3 tier architecture without frameworks. if yes how? give me a little example of it.. thanks in advance.

Web Development php
Member Avatar for navi17
0
101
Member Avatar for Harutyun

Hello. I'm trying to get working some AJAX make statistics of links clicked. Using php and mysql as back-end. My choice is synchronous AJAX request to server using onbeforeunload event. I'm using synchronous request to be sure that browser sent request to the server before page is unloaded. With asynchronous …

Web Development javascript
Member Avatar for Airshow
0
145
Member Avatar for ahmksssv

Hi frnds... i have some problem regarding uploading a s/w when hosting a website... here i am doing project like stock market news...in this i had a software for updating share prices per every seconds.... where and how can i install software on my hosting panel?

Web Development php
Member Avatar for BzzBee
0
101
Member Avatar for dexeloper

If, in Firefox, you go to [URL="http://www.incrowd.org.uk"]http://www.incrowd.org.uk[/URL] you'll see a signin page. The signin form is a table and should be spaced 35%/65%. However it is just taking up the space needed for the left label. I've got Firebug and the problem is the table is not taking up 100% …

Web Development javascript
Member Avatar for dexeloper
0
90
Member Avatar for lamiv007

[CODE]<? include("db.php"); mysql_connect($host,$username,$password); @mysql_select_db($database) or die("Unable to connect to database"); $query="SELECT * FROM tcg"; $result=mysql_query($query); $num=mysql_numrows($result); mysql_close(); echo "<center>Viewing Records</center>"; $i=0; while ($i < $num) { $client = mysql_result($result,$i,'ClientsName'); [B]$prgno = mysql_result($result,$i,'PrgNo'); this is line31[/B] $prgname = mysql_result($reslt,$i,'PrgName'); $trainername = mysql_result($result,$i,'TrainerName'); $dates = mysql_result($result,$i,'Dates'); $days = mysql_result($result,$i,'Days'); $proffee = mysql_result($result,$i,'ProfFee'); …

Web Development mysql php
Member Avatar for dreamluverz
0
172
Member Avatar for vuyiswamb

Good Day All I have a textbox in a userControl and it has a Property "Autopostback" set to true, and as i know , this is encapsulated from the hosting page. now i need to set this property to true so that the Gridview in the Hosting page can recognize …

Web Development asp.net
Member Avatar for vuyiswamb
0
175
Member Avatar for divyadilip27

Hi I'm new to PHP. I installes wamp2. and wrote a sample code [code]<HTML><BODY> <? echo date("M-d-Y"); ?> </BODY></HTML> [/code] saved it in www folder. but now wen i click the saved file (hello.php) the file opens but nothing is getting display pls help me Divya

Web Development php
Member Avatar for dreamluverz
0
100
Member Avatar for arosemena

hi, im posting this because i cant find my problem, the thing is that my script works fine on Opera, Firefox, Chrome and Safari but it doesnt work on IE, i have the newest version of IE and have been trying everything please help the page is here (code that …

Web Development client-server javascript
Member Avatar for arosemena
0
104
Member Avatar for lamiv007

Hello, I am retrieving two values from a database. I want to get the result after addition of the two values. the code I used is [CODE]echo "$client <br> $prgno <br> $prgname <br> $trainername <br> $dates <br> $days <br> $proffee <br> $trainerfee <br> $reimbexp<br> $handoutchg <br> $invoiceno <br> $totalinvamt <br> …

Web Development php
Member Avatar for lamiv007
0
105
Member Avatar for Rein Valdez

Hello Daniweb, I am a newbie student. I have a problem where I designed my web page project and eventually it must contain a background song that will continuously play even clicking the links/pages. Is there any possibities of doing this? Thanks for the help. I will greatly appreciate your …

Web Development javascript
Member Avatar for almostbob
0
103
Member Avatar for chandradyani

Dear all, I want to inform that the query return zero result? does anyone know how to revised my code so in case my query return zero result and it will echo "search result =0" here is my the code, I have try it but still it doesn't inform that …

Web Development php
Member Avatar for chandradyani
0
111
Member Avatar for chandradyani

I would like to query regulation which it's date reminder is >= today and it's date ended is >=today. So I came with this query: [code] $query="select * from t_regulation where dt_reminder >= '$today' and dt_ended ='$today'" [/code] It works on postgerSQL but not on mysql :( I dont why …

Web Development php
Member Avatar for chandradyani
0
106
Member Avatar for Muincat

Hi! After many years of not doing any web design at all, I have a neighbor that has hired me to design a basic website for her business. I've set the page up with an iframe because I figured then I would only have to update menu links on that …

Web Development html-css javascript web-design
Member Avatar for Muincat
0
153
Member Avatar for bettina702

Hi, I am looking for some pointers on how to password protect a part of my website. I need that password to change every 24 hours and to be sent to several e-mail addresses. Can this be done with PHP? Any help is appreciated!

Web Development php
Member Avatar for bettina702
0
606
Member Avatar for koolhq

Ok I am making a website and I have apache 2, php, mysql. I want users to be able to create a website(i got that part, it is easy) but I want user.example.com to redirect to example.com/user with a .htaccess file and sorry this is in the wrong section can …

Web Development apache php
Member Avatar for koolhq
0
152
Member Avatar for lamiv007

Hello, I'm getting an error [B]"Column count doesn't match value count at row 1"[/B] [CODE] <? include("db.php"); $ClientsName=$_POST['client']; $PrgNo=$_POST['prgno']; $PrgName=$_POST['prgname']; $TrainerName=$_POST['trainer']; $Dates=$_POST['dates']; $Days=$_POST['days']; $ProfFee=$_POST['fee']; $TrainerFee=$_POST['trainerfee']; $ReimbExp=$_POST['rexp']; $HandoutChg=$_POST['handchg']; $InvoiceNo=$_POST['invno']; $TotalInvAmt=$_POST['invamt']; $FeeRecd=$_POST['feerec']; mysql_connect($host,$username,$password); @mysql_select_db($database) or die("Unable to connect to db"); $query = "INSERT INTO tcg VALUES('$ClientsName','$PrgNo','$PrgName','$TrainerName','$Dates','$Days','$ProfFee','$TrainerFee','$ReimbExp','$HandoutChg','$InvoiceNo','$TotalInvAmt','$FeeRecd')"; mysql_query($query) or die(mysql_error()); mysql_close(); echo "Data …

Web Development mysql php
Member Avatar for ShawnCplus
0
181
Member Avatar for Hype

Hello, I was wondering if it would be possible for someone to point me in the rgth direction of how to read emails using PHP? What I am wanting to do is have people send me an email. In the email will be an image and some text. I want …

Web Development email php
Member Avatar for Hype
0
127
Member Avatar for Temax

Is someone who can help me; I'm trying to get an image from a folder and show it: Here is my code, logos is the directory; the problem is that I'm getting only the name of the image! $handle=opendir('../logos/'); while (false!==($file = readdir($handle))) { if ($file != "." && $file …

Web Development image php
Member Avatar for koolhq
0
104
Member Avatar for cguan_77

hi, how to use the window onload event on javascript.. for example i got a function and i want that function to execute during page load. any ideas is greatly appreciated... thanks...

Web Development javascript
Member Avatar for koolhq
0
247
Member Avatar for Venom Rush

Do arrays not store inverted commas and apostrophes? This seems to be the case with a project I'm working on and it's very annoying. I'm pulling small strings from a DB, some of which contain inverted commas or apostrophes, and when I try echo them the ones with the apostrophes …

Web Development php
Member Avatar for Will Gresham
0
77
Member Avatar for rickarro

Hey Guys, I need a little help. I have a calendar script that I want to write a query for and pull out the day of the week, then have it send an email showing all the entries for that day. Unfortunately i'm querying a day, month, year as seperate …

Web Development php
Member Avatar for rickarro
0
168
Member Avatar for justinmyoung

I'm transferring my css gallery site to a wordpress platform, and it has gone fine. Except I'm having difficulty with showing 12 posts on the index.php page - it shows 10 posts and leaves the two spaces at the bottom empty. Is there a way to configure how many posts …

Web Development php wordpress
Member Avatar for jhz
0
97
Member Avatar for netdoer

[code=php] if(!$sqlStr==$sqlStr1){ echo $sqlStr; }else{ echo $sqlStr; echo "<br>"; echo $sqlStr1; echo "<br>"; echo "No changes were made!<br>"; } [/code] This statement produces the same results whether or not the "!" statement is included. e.g. [icode]if(!$sqlStr==$sqlStr1)[/icode] produces the same results as [icode]if($sqlStr==$sqlStr1)[/icode] Why?

Web Development php
Member Avatar for netdoer
0
89
Member Avatar for aashishn86

i need to write a function to remove consecutive slashses from a string i wrote this [code] for( i=0; i!=b; ) { var slashone = strname.indexOf('/',i+1) i=slashone var slashtwo = strname.indexOf('/',i+1) i=slashtwo //alert("index of slash one" + slashone) //alert("index of slash two" + slashtwo) if( slashone == (slashtwo-1)) { alert("Remove …

Web Development javascript
Member Avatar for aashishn86
0
147
Member Avatar for letlet_pogs

This is the sample table : [CODE] CREATE TABLE contacts ( id character varying NOT NULL, CONSTRAINT pkey_id PRIMARY KEY (id) ) [/CODE] I use PHP with PostgreSQL database..if i will run my PHP code: Example: ADD ID NUMBER <-- If i will click this, the message below will appear: …

Web Development php postgresql
Member Avatar for letlet_pogs
0
88
Member Avatar for santhanalakshmi

Hi, I wish to do PHP Cerification.I dont have any idea.How to do PHP certification?What are the procedures to do?Is there any PHP Certification Material.........Please tell me with regards, santhanalakshmi.

Web Development php
Member Avatar for coolmind259
0
85
Member Avatar for lifeworks

Hi Im hoping some fresh eyes will show me the issue here, been stuck on this for a while now... [code] $c = 0; for($i = 86400; $i < 604900; $i + 86400) { $start = $mktime - $i; $end = $mktime - ($c * 86400); echo $start . '<br …

Web Development php
Member Avatar for lifeworks
0
101
Member Avatar for sacarias40

I was wondering if it was possible to upload say a picture file and a text file and in the script put them into a zip file programatically. if this is possible could you offer some tips or links please? regards! Thank you it looks like ill be reading for …

Web Development php
Member Avatar for sacarias40
0
183
Member Avatar for Aeterna

If this is my code how would I loop to the next dog of the current owner after the dog has been fed 3 times. [CODE]Foreach ($owners as $owner) { For($x=1;$x<=$NumOfDogs;$x++) { $dog = $dogs[$x]; shuffle($dogFoods); Foreach ($dogFoods as $dogFood) { For($y=1;$y<3;$y++) { Feed($dog, $dogFood); } } } }[/CODE]

Web Development php
Member Avatar for JugglerDrummer
0
84
Member Avatar for tadisaus2

Hello, I have 2 queries, qryDept and qryExams. Because I can not join these queries together so I have to use 2 Record sets in ASP. The NoStudents deduct from NoExams to get Remain. It keeps getting errors at the --oRs2.Open strSQL2, Conn. [code] <% Dim Dept_ID, strSQL2, oRs2, Remain …

Web Development asp asp.net
Member Avatar for tadisaus2
0
128
Member Avatar for vidhyaponnusamy

Hi, I want to add 1 hour with current time,i done this using following method date('h:i:s',strtotime('+10 minutes') but i want to take the current time in a variable and add that time with 1 hour,but that value could not change as the time changes. help me out to solve this …

Web Development php
Member Avatar for diafol
0
100
Member Avatar for Hcaja

Hi, I want to create a form that a user can fill in his information and send the form to his friends via email. Anybody have ideas or examples they know of.

Web Development php
Member Avatar for netdoer
0
78
Member Avatar for szita1

I use phpDesigner but I have no idea how i could use debugger when there's a (submit)button in the code and would like to test what happens when the button is clicked. In this example, the debugger stops when it steps on the "Register" button. How should i set it …

Web Development php
Member Avatar for szita1
0
97
Member Avatar for pabzzmike

hello all, i need help with php/mysql syntax that will search a mysql dbase using 3 user-provided (from web form) options. All options are contained in drop-down menus. the mysql database has an auto column which is the primary key allowing for duplicate entries which are neccesary the table has …

Web Development mysql php
Member Avatar for diafol
0
146
Member Avatar for trochia

Thank you for taking the time to read this. I already have code to download as *.csv/*.xls file from my MySQL database (in place) I need to add a "flag" into the DB as for when the last download was made, and then upon next download, only $fetch_newRecords and reset …

Web Development php
Member Avatar for trochia
0
138
Member Avatar for SQL_n00b

Can someone please help me figure out what I am doing wrong? Basically I have a form where users enter a bunch of values. On submit, the form values are dumped into a table in the DB. The process is as follows: Users enter a set of values TWICE for …

Web Development algorithm coldfusion
Member Avatar for SQL_n00b
0
145
Member Avatar for veledrom

Hi, I need an effect like in this linkhttp://markgrantcables.co.uk/shop/ I simply put a "?" mark next to a textarea. When mouse is over "?" then a little explanation box will appear. Thanks

Web Development javascript
Member Avatar for veledrom
0
116
Member Avatar for Shanti C

Hello all... Can i write all my site pages such as index.htm, support.htm,contact.htm .. etc to [url]www.mysite.com[/url] with URL Rewriting.. Please help on this.. Thanks in Advance..

Web Development php
Member Avatar for Aamit
0
100
Member Avatar for freshfitz

How can I add more fields to get emailed in this script, Is there a way I can just loop through all the fields I can do it asp classic . I tried adding another mail.body but it only sends 1 mail.body [CODE] <%@ Page Language="C#" %> <%@ Import Namespace="System.Web.Mail" …

Member Avatar for freshfitz
0
106
Member Avatar for adrian_hs

Hello, unfortunately i'm a newbie to java servlets, still i want to learn something new and powerful (for now i'm a PHP developer ;) ). So i have installed Tomcat 6 and Netbeans on my Windows XP. I want to do something for whidh i need some clesses tahat aren't …

Web Development java-jsp java-netbeans
Member Avatar for adrian_hs
0
270

The End.