17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for bigtalk

I mostly work with PHP. I am not really a JavaScript guy at all, but in this day and age we all end up working with it a bit. I'm trying to do something that seems like it should be fairly simple. Unfortunately, I am not having any success getting …

Web Development javascript
Member Avatar for Airshow
0
217
Member Avatar for chris5126

Hi, I wish to add the following to my web.config file: [code] <appSettings> <add key="networkDrive" value="C:\test"/> </appSettings> [/code] But everytime I add it i get the following error: [code] Sections must only appear once per config file [/code] I looked in the file to see if it appeared more than …

Member Avatar for achristov
0
298
Member Avatar for chris5126

Hi, Im creating a website that will be used to monitor servers, the user can add and remove servers and the servers list will be constantly chaning. I need to create a generic page to display the monitoring results that will adapt depending on which server the user selects. The …

Web Development asp.net
Member Avatar for mail2saion
0
190
Member Avatar for darkagn

Hi all, We are experiencing the following problem with the latest versions of IE and FF in regards to sessions. If anyone has encountered these problems before, any insight would be valuable. [B]In FF:[/B] An ongoing problem where sessions are saved across multiple tabs and windows in the same machine. …

Web Development php session
Member Avatar for nutty2chat
0
237
Member Avatar for kate@deni

I am new to php. I have any issue that i want to use dynamic links and want to rewrite them. I want to use single page for all the pages but different urls.

Web Development php sql
Member Avatar for kate@deni
0
104
Member Avatar for servis

i want to validate whether the checkbox is empty or not, if it is empty, the alert box show message, but the following code is not working... [ICODE] function validate(form) { with(form) { if(agreement.value.checked==false) { alert("Please commit the agreement to continue."); agreement.focus(); return false; } } [/ICODE] Secondly, i want …

Web Development javascript
Member Avatar for servis
0
294
Member Avatar for Dabeam

I want to use a for loop to display * ** *** in javasript does anybody know how?

Web Development javascript
Member Avatar for Airshow
0
68
Member Avatar for Dabeam

How do i use a function to find the average of the values in an array of numbers passed as argument to a function.(using java script) thank you for your help...

Web Development javascript
Member Avatar for Airshow
0
106
Member Avatar for julseypart

does any1 know why its doin this, so annoying! spent ages tryn to figure it out.. [URL="http://img17.imageshack.us/img17/4749/linksi.png"]link[/URL]

Web Development asp.net
Member Avatar for julseypart
0
99
Member Avatar for marjan_m

Hi, I am trying to implement the following ajax code: [CODE] function create() { obj_t = new XMLHttpRequest(); if(obj_t == null) { alert("Your broweser does not support it"); } } function data() { if(obj_t!=null) { if(obj_t.readyState == 4) { var dv = document.getElementById('tdetail'); dv.innerHTML = obj_t.responseText; } } } function …

Web Development php
Member Avatar for marjan_m
0
131
Member Avatar for cinsPHP

Hi all, Im a still very new to PHP and don't know how to attempt the following: I'm trying to build a dynamic array in a form i'm utilizing. Also I am passing parameters from the url as follows: colour.php?val=3&co1=Red&co2=Blue&co3=Green //where val is the iteration number and co1,co2,co3 is the …

Web Development php
Member Avatar for cinsPHP
0
78
Member Avatar for Dabeam

I want to use a for loop to display * ** *** in javasript does anybody know how?

Web Development javascript
Member Avatar for Airshow
0
93
Member Avatar for chris5126

HI, I am creating a website but when i right click on my login.aspx and click set as start page it seems to be ignored. I rebuild the website and click view in browser and it just takes me to [url]http://localhost:62665/website/[/url] I am using master pages if that helps anyone …

Web Development asp.net
0
107
Member Avatar for chris5126

Hi, I am creating a aspx site that will act as a monitoring program the user has the option of adding or removing servers. However when they do this a windows service needs to be restarted. Therefore my question is: Can the website restart the service? Or can it view …

Web Development asp.net
Member Avatar for mail2saion
0
84
Member Avatar for chris5126

hi this is prob a very simple question. I have a website that that is acting as a monitoring program. On the homepage i need to display Currently monitoring $$ servers Where $$ is a select count statement from a SQL server db. My question is how do I do …

Web Development asp.net sql
Member Avatar for mail2saion
0
82
Member Avatar for NinjaLink

I am doing a small program using a function to print out the real root or imaginary root. The problem is, it only prints out what the numbers that the user input. However, it does not print out the rest. For Example: It prints out this: a = 4 b …

Web Development javascript xml
Member Avatar for Fungus1487
0
128
Member Avatar for solocky

Hello all i have (after much googleing) written a php script which when activated appends to a main text file with the text seen below in this exact format type= name=---------------------------------------------------------------------------------------------- # type= name=(USER INPUT HERE) # type= name=---------------------------------------------------------------------------------------------- # what i need is a simple webform with one input …

Web Development php
Member Avatar for solocky
0
153
Member Avatar for misticles

im trying to display the results of a search when users use the drop down menus. ive been at this for 2 wks and cannot get it to work at all. please help :( [ICODE] <?php $programme = $progyear = $subjectname = $examyear = null; //declare vars $conn= mysql_connect("localhost", "root", …

Web Development display php
Member Avatar for misticles
0
149
Member Avatar for Stefano Mtangoo

Hi all, I have MP3 player from [url]http://www.premiumbeat.com/flash_resources/free_flash_music_player/multiple_tracks_mp3_player_menu.php[/url] and I want to put it in my page. I want it to appear in every page. I'm pretty new to many PHP stuffs and with PHP page I judt do simple include statement. How do I do that? Here is their …

Web Development flash javascript php xml
Member Avatar for Stefano Mtangoo
0
110
Member Avatar for macfi

Hi All I am a bit of a begginer in PHP. How do I store multiple vales in a cookie? I am going along the lines of: [code=php]$data = array('apple'=>'green', 'orange'=>'orange', 'banana'=>'yellow');[/code] then something like (not sure about the sytax here):: [code=php]$var=implode($data); setcookie('data', $var, time() +3600);[/code] Basically how do I …

Web Development apple php
Member Avatar for macfi
0
4K
Member Avatar for jtok

I am using Visual Studio 2008 developing a web app front-end for a T-SQL DB using asp.net and vb.net. I have a label inside a list like so: [CODE] <ul id="ul" class="class"> <li id="li"> <asp:Label runat="server" ID="label"></asp:Label> </li> </ul> [/CODE] I cannot access the label directly in my code-behind file …

Member Avatar for jtok
0
141
Member Avatar for Newbie 123

Hi I have some code where the user inputs some stuff and then i would like it to get added to a database. The problem is dont know how to make it so that it only adds to the database when the user has submited it? Any ideas ?

Web Development php
Member Avatar for Newbie 123
0
184
Member Avatar for Alv45525

helo guys...am doing my website in asp.net and its gonna be an ecommerce site with shopping cart and all..I learned that i will need to makke use of session in the login form and pass it to the other forms...can anyone help and gimme some explanation

Web Development asp.net ecommerce session
Member Avatar for Alv45525
0
190
Member Avatar for veledrom

Hi, When try to validate the textbox generated by innerHTML, it returns "Undefined" for the textbox. Therefore, i cannot validate it. Thanks [code] <html> <head> <script type="text/javascript"> function validateForm () { if (document.form1.textContactname.value.length == 0) { alert ("ERROR"); return false; } return true; } function createInvoice () { document.getElementById("hiddenPayment").innerHTML = …

Web Development html-css javascript
Member Avatar for veledrom
0
131
Member Avatar for aixing

Hello, I'm doing a school project in .JSP and I came across this syntax error while inserting data in my database. [CODE] DB Query: INSERT INTO MainApplicant (MainApplicantId,FullName, MaritalStatus, Height, Weight, Gender, AgeAsOfLastBDay, DateOfBirth, PlaceOfBirth, IDNo, CountryOfIssue, Nationality, Race, HomeNo, OfficeNo, MobileNo, Address, PostalCode, CorrAddress, CorrPostalCode, EmailAddress) VALUES [COLOR="Red"]('P-8915710B,[/COLOR]'Jaslyn ', …

Web Development java-jsp
Member Avatar for aixing
0
154
Member Avatar for weblover

hi all ..i'm working on php application .......and i need to insert data into a filed in my table but in a certain condition ......exp:(insert into users (posts) values(...) where ...) i can't do this .....what should i do ? please help and thnx in advance

Web Development php
Member Avatar for Designer_101
0
346
Member Avatar for Lareman

Hi folks! I'm an experienced web developer who finally has time to teach himself ASP.NET. I've worked with it from time to time, but have been delving deeper and deeper, lately. I've created user controls that are dynamically loaded into a Wizard control. (I'm no veteran, but not sure if …

Web Development asp.net
Member Avatar for Lareman
0
105
Member Avatar for h2onet

I am trying to display/hide different div tags when a checkbox is checked and when a California is selected as a drop-down value. I have it working when the check-box is selected and choosing the drop-down value, but not when the drop-down is selected and clicking the check-box. I hope …

Web Development javascript
Member Avatar for h2onet
0
108
Member Avatar for chriscross86

hi, i am using visual web developer 2005 express. i am trying to locate the web.config in the solution explorer, but it is not there and i don't know any other alternative way to know where it is located. please help.

Web Development asp.net
Member Avatar for chriscross86
0
279
Member Avatar for Alv45525

helo guys...i have a table in sql server express edition and 3 fields in it, UserID, Password and Role. I managed to create my login but now i want to add some piece of code in order to give acces according to the role field..that is admin and user will …

Web Development asp.net open-source
0
112
Member Avatar for Alv45525

helo guys, i have a little problem here. i've always been using MS access as database to connect my vb.net applications. Now i've design a webpage in asp.net and i want to connect the login.aspx page with the sqlexpress provided in vb.net framework..can anyone help me with the steps?? just …

Member Avatar for Alv45525
0
93
Member Avatar for sarmadirizvi

hello friends!! Can anyone of you help me know how to make the members of my forum send private messages to each other? I am building a discussion forum for my college students. You can take me as a novice in the field of Asp.net. I am using Sql server …

Web Development asp.net
Member Avatar for sarmadirizvi
0
109
Member Avatar for jyotiu

[CODE]<div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: left; margin-left: 10px;">Link <a rel="nofollow" style="color: rgb(0, 0, 221); text-decoration: underline;" target="_blank" href="[COLOR="Red"]http://www.zshare.net/video/58502819262e0ecc/[/COLOR]">[COLOR="Red"]1[/COLOR]</a> </div><div style="float: right;"><a href="javascript:DeadLink('http://www.movies-on-demand.tv/report.php?id=2845')"><img title="Report Dead Link" src="http://img.movies-on-demand.tv/templates/mod/images/broken.gif"></a></div></div><div style="margin-top: 2px; width: 550px; height: 20px; background-color: rgb(255, 255, 255); font-size: 13px;"><div style="float: left; font-variant: small-caps;">movie link ([COLOR="Red"]zshare[/COLOR]) :</div><div style="float: …

Web Development php video
Member Avatar for martin5211
0
133
Member Avatar for Vai

Using this code: [code] $query = "select * from `music` WHERE `music`.`catid` = '" . $catid . "'"; I cannot seem to add "ORDER BY artist so that it would be in alphabetical order. [/code] Second issue: What do I need to do to have Display X amount of records, …

Web Development php
Member Avatar for somedude3488
0
109
Member Avatar for rajeesh_rsn

Hai I had a search script in my web page. There are two inputs 1. Type 2. Location ( list with values --> Any,India,China) And location is not mandatory for search. When user submit search in database and show results. my query is like this [code]"SELECT * from dbname where …

Web Development php
Member Avatar for JRSofty
0
75
Member Avatar for shadiadiph

how do i find out the row size in kb? is it possible to automatically insert the size I have a mail table and have the field is there a way of automatically creating the value on insert by resetting the values of the field?? [code]`messagesize` int(255) NOT NULL default …

Web Development php
Member Avatar for shadiadiph
0
136
Member Avatar for Tekkno

I am new to PHP. I have a MySQL database with a column of URL's. I have a PHP script that randomizes the URL's and echoes the result to the browser. I just need a need a way to turn the randomized URL into a clickable link. I would imagine …

Web Development mysql php
Member Avatar for Tekkno
0
2K
Member Avatar for danarashad

I have users insert text on pages. When they do a copy paste from word. With a bullet point or a '. It shows up on the pages as []. Can someone help. Is there a safe html insert for coldfusion or a safe text insert. That would strip out …

Web Development coldfusion
Member Avatar for danarashad
0
149
Member Avatar for jonpb

Hello, I looked all over the forums here but couldn't find anything on this: I'd like to have a js random image (1 out of 4) load each time a user visits my page. Along with that image, I'd like a specific quote and sub heading (text) to appear -the …

Web Development image javascript
Member Avatar for essential
0
284
Member Avatar for Vanq69

Hi guys, I cant seem to work out a way to keep my paragraphs when using a text area as part of a form. I send the form using ajax and then display the text again in a textarea to allow editing before finally displaying it on a standard page. …

Web Development php
Member Avatar for Ezzaral
0
94
Member Avatar for veledrom

Hi, Code below generates this error [inlinecode]Warning: Missing argument 1, 2, 3for MyWebpage::pageElements(): Class_for_HTML.class on line 18 )[/inlinecode] but i cannot solve the problem. Thanks [code] <?php class MyWebpage { var $header = "<html>\n<head>\n"; var $title; var $keywords; var $content; var $footer = "</body></html>"; function generatePage() { echo $this->header; $this->pageElements(); …

Web Development php
Member Avatar for veledrom
0
52
Member Avatar for Newbie 123

hii Does anyone know what CSRF is. Thanks for the help

Web Development php
Member Avatar for Designer_101
0
94
Member Avatar for jain4

Hi there, I am very new to ASP.net. I have just started making a website in ASP.net 2.0. In this website, i want to have a admin section which can be accessed only after the admin logs in with a login page. Now I am using custom asp.net script then …

Web Development asp.net
Member Avatar for jain4
0
92
Member Avatar for jyotiu

Hi All I am new to PHP and just got a project ;) that needs me to extract links from the page, i have got the part of page that have links in a string and was wondering if i can extract all the links in that string. String is …

Web Development php
Member Avatar for martin5211
0
281
Member Avatar for HITMANOF44th

making php code to pull data for database now it pulls most data fine with the like statment now is there anyway to make it pull both things that are lower and uper case ? [code=syntax]$query = "SELECT * FROM `users` WHERE `$lookby` LIKE '%$lookfor%'";[/code]

Web Development php
Member Avatar for Designer_101
0
102
Member Avatar for szita1

hi all, im new to php and im stuck with a "constant" problem. i was studying a code snippet and trying to creat a constant with define() like this: define("ABC",1,TRUE). i dont understand why it results nothing if the second parameter is 0. The consant type is boolean and it …

Web Development php
Member Avatar for ShawnCplus
0
87
Member Avatar for ramanand

Guys, i have installed PHP 5 on my windows system, i am able to browse to info.php which shows a listing, but if i create another simple page with a echo statement then i and not able to browse that page. i get the HTTP 500 internal server error. i …

Web Development php windows-server
Member Avatar for ramanand
0
162
Member Avatar for Newbie 123

Hi I have the following [CODE]$_SESSION('userid') = true;[/CODE] How is it i would get the user to logout? I guess by deleting the session? Thanks

Web Development php session
Member Avatar for Newbie 123
0
81
Member Avatar for Designer_101

Hi I have this login box that drops down once clicked. I would like it so if the user doesnt click one of the fields within lets say 8 seconds then the box minimizes automatically. Here is what I have: [CODE] <script language="javascript"> function makevisible() { document.getElementById("dropform").style.display="block"; setTimeout("minimize()",4000); } function …

Web Development javascript
Member Avatar for Designer_101
0
114
Member Avatar for functionsys

Greetings to you .. gentleman First thanks for all ... and keep it up i'm using ASP.NET 2008 C#.NET i have controlpanel.aspx page .. this page i don't want from any user not login to see it .. when user login and user name and password is ok then show …

Web Development asp.net vbulletin
Member Avatar for functionsys
0
128

The End.