52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tryphy

Hi guys, Could anyone help me out with this... I have a multi form, which the user enter in the data and submits the data.. It also have a save button in it.. so user can save and then come back,.. then can save again, or submit.. I saved the …

Web Development php session
Member Avatar for saiprem
0
204
Member Avatar for amby

hey i am new in javascript, i was having problem in including jquery in this file in Visual Studio but i resolved it by using ResolveUrl but after that its giving error "; expected" in the line1 i-e [CODE]<[COLOR="Red"]%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default2.aspx.cs" Inherits="Default2"%>[/COLOR] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for amby
0
198
Member Avatar for albertkao

How to use "c:if" to test for the boolean true? These does not work: [CODE]<c:if test="${model.value == 'true' }"> <c:if test="${model.value == "true" }"> <c:if test="${model.value == true }">[/CODE]

Web Development java-jsp
Member Avatar for albertkao
0
141
Member Avatar for peck3277

Hi guys! Hope someone can help me out here. I'm using javascript to validate a form and if it's false it displays a message. If it's true in passes it to a php file to process it. The problem im having is even if it fails validation it still passes …

Web Development javascript
Member Avatar for Airshow
0
134
Member Avatar for scmsimplybest

Hello There, I M having Problem with Getting Page Name With JavaScript in WordPress. I have Used This Code To Get Page Name In WordPress. [CODE]function GetCurrentPageName() { //method to get Current page name from url. //return page name in small . var sPath = window.location.pathname; var sPage = sPath.substring(sPath.lastIndexOf(‘/’) …

Web Development php wordpress
Member Avatar for scmsimplybest
0
79
Member Avatar for anakanya

I have an html page with a random url that I want to be clicked programmatically in javascript [code="javascript"] <html> <head> <script> function ClickURL() { document.getElementById('xyz').click(); } </script> </head> <body onLoad="ClickURL()"> <a href="www.somewebsite.com" id="xyz">Link </a> </body> </html> [/code] This only works in IE - it does not work in FireFox. …

Web Development javascript
Member Avatar for almostbob
0
4K
Member Avatar for niths

hi all, i am not getting inserted the dropdown value to the back end except that everything is inserting. so can u please help me. [CODE]<?php ob_start(); @session_start(); require_once ("check.php"); createsessions($username,$password,$userid,$projectid); $con=mysql_connect("10.70.1.50","invensis","invensis"); if(!$con) { die('Could not connect: ' . mysql_error()); } mysql_select_db("database_myproject",$con); $sql="SELECT projectname from projects where createdby='$_SESSION[username]'"; mysql_error(); $result=mysql_query($sql); …

Web Development php
Member Avatar for niths
0
117
Member Avatar for vij123

i have a jsp page which have a some school names link. when i click to link of a school name, school name are appended to a link that will go to a second page. in this second page have same item which i will use same for all school. …

Web Development java-jsp
Member Avatar for vij123
0
1K
Member Avatar for gdp_87

Hi, Is there a way to set a default query string if query string is null? Something like: [CODE] if (Request.QueryString["ID"] == null) { //set default here } [/CODE] Many Thanks Grant

Web Development asp.net
Member Avatar for Ramesh S
0
239
Member Avatar for Rakesh Nagekar

Hello friends Iam KNR, Iam facing a problem with javascript validation, I am getting validation with alert boxes but i require inline validation like in .NET means the error msg has to be displayed after control please help me Thanks in advance KNR

Web Development javascript
Member Avatar for shadowgmax
0
80
Member Avatar for itslucky

Dear Friends, im receiving a XML file which contain a HTML code in the value of a node.. i have fetched the html code, but now i have to show that on my ASP .NET page. please tell me how can i do that... is it possible to assign that …

Web Development asp.net html-css xml
Member Avatar for itslucky
0
203
Member Avatar for Viruthagiri

Here is my code. I want to insert the date in 0000-00-00 format. But The error shows like this [COLOR="Red"][B]exception occured in Trainee Status java.sql.SQLException: Value '0000-00-00' can not be represented as java.sql.Date[/B][/COLOR]Here is my code [CODE]<%@ page import="INCLUDES.DBConnection"%> <%@ page import="java.sql.*"%> <%@ page import="java.io.*"%> <%@ page import="java.util.*"%> <jsp:useBean id="DB" …

Web Development java-jsp session
Member Avatar for jwenting
0
304
Member Avatar for f_atencia

<?xml version="1.0" encoding="ISO-8859-1"?> <catalog> <cd country="USA"> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <price>10.90</price> </cd> <cd country="UK"> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <price>9.90</price> </cd> <cd country="USA"> <title>Greatest Hits</title> <artist>Dolly Parton</artist> <price>12.90</price> </cd> </catalog> Hi, I'm sure it's very simple, but I'm new at ASP and XML. I just want to know how I …

Web Development asp xml
0
67
Member Avatar for jobojo

Good evening everyone. I have a php based site which was designed a few years ago. I have done very little with the site since I purchased it because I was not very familiar with PHP. Well I still am not very familiar with PHP, but I am more familiar …

Web Development php web-design
Member Avatar for JRM
0
168
Member Avatar for teajayo

Hi. I haven't been able to figure out how to allow names with apostrophes such as mine, O'Connor , to POST. Also someone tried to post a smiley face like :) and that also threw an error. I have tried adding this :: mysql_query("SET NAMES 'utf8'"); // UTF 8 support!! …

Web Development first-post php
Member Avatar for teajayo
0
91
Member Avatar for kanuri1

hi how to give hyper link to inside of the gridview columns......... here my code is given below but it was not working properly..... please give me the correct code......... [CODE] Private Sub fillgrid() Dim Hyper_Column adp1 = New SqlDataAdapter(" select vendorcode , vendorname as 'Vendor_Name' from vendor_master", con) adp1.Fill(ds, …

Web Development asp.net
Member Avatar for jbisono
0
118
Member Avatar for Reliable

Although I've read about it it still doesn't sink in when you will need to pass in a variable. I think I know how i just don't know for what reason. If someone could provide that information for me i would appreciate it. Also, is PHP variable passing more efficient …

Web Development php
Member Avatar for Reliable
0
81
Member Avatar for adobe71

[B]1.[/B] I want to put javascript in webpage that shows gif image on moving cursor anywhere on the page and [B]2.[/B]I want to get the value of one textbox and put this value to another textbox.

Web Development image javascript
Member Avatar for adobe71
0
67
Member Avatar for smush

Hi everybody, I just started learning PHP and was asked to write a BMI calculator. I did all that but now I'm stuck with an if ... elseif that doesn't seem to want to work. I'm sure it's just a syntax error but could somebody look over it and see …

Web Development php
Member Avatar for smush
0
105
Member Avatar for andydeans

hi, i was wondering of a simple way to generate a pdf & excel spreadsheet from a php form and mysql table with data in it? any help would be great. many thanks

Web Development pdf php
Member Avatar for andydeans
0
779
Member Avatar for muralibobby2015

HAI FRNDS..... daniweb site does not open on my p.c. but all sites are opening. i tryed to know where is the problem....but i can't. plz tell me how to open this site. where is the problem on my p.c. thnks.

Web Development php
Member Avatar for muralibobby2015
0
89
Member Avatar for sluck

[CODE] <asp:TemplateField HeaderText="Grabbelpas"> <ItemTemplate> <asp:CheckBox id="lblGrabbelpas" Enabled="false" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' ></asp:CheckBox> </ItemTemplate> <EditItemTemplate> <asp:CheckBox id="txtEditGrabbelpas" runat="server" Checked='<%# DataBinder.Eval(Container, "DataItem.Grabbelpas") %>' /> </EditItemTemplate> </asp:TemplateField>[/CODE] [CODE]CheckBox txtGrabbelpas = (CheckBox)(myDetailsView.FindControl("txtEditGrabbelpas")); strSQL = "UPDATE leden SET LidID = "Grabbelpas = '" + txtGrabbelpas.Checked + "' " + " WHERE LidID = '" …

Web Development asp.net
Member Avatar for Ossehaas
0
175
Member Avatar for shankbond

Hi, I am facing a strange problem here, I am using a webservice to send emails through my website. Strangly when I run the application through VS2008 web development server only one email is sent which is normal, but when I publish the website on IIS then two copies of …

Web Development asp.net web-server
Member Avatar for surenkumar
0
148
Member Avatar for softheart

Disabling of hyperlink can be done by the help of Javascript, but can anyone tell me the code, how to disable a hyperlink by the help of php coding. In the web page, it is desired that when a user signs in as an administrator, he could access the hyperlink, …

Web Development html-css perl php web-server
Member Avatar for surenkumar
0
3K
Member Avatar for showket

hi,can any one tell me in stepwise how to setup my asp website on LAN. thnks in advance

Web Development asp.net
Member Avatar for nikaso
0
72
Member Avatar for clueless07

I am trying to print out the results of a sql query into a table i haven't finished the table yet but im already getting an error please help the error is Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in C:\xampp\htdocs\minterface.php on line 45 [code]<!DOCTYPE html PUBLIC …

Web Development html-css php printer sql xml
Member Avatar for clueless07
0
134
Member Avatar for whiteyoh

Hi All, I have sent a GET request to a third party and it has responded with XML. I would like to know how to extract the information from that response and convert it into a standard php variable. [code] <GetGuidResult> <ErrorNumber>0</ErrorNumber> <ErrorMessage/> <Guid>40d505ba438049a68eafc9a95e7fefcf</Guid> </GetGuidResult> [/code]

Web Development php xml
Member Avatar for whiteyoh
0
87
Member Avatar for yara1

hi How do I write php code to check if checkbox is checked or not ? correct my red line please :) [code]<html> <head> </head> <body> <script language="JavaScript" type="text/javascript"> function add() { <?php extract($_POST); [COLOR="Red"]if(category[0].checked)[/COLOR] $query = "INSERT INTO mytable (cat) VALUES ('1') [COLOR="red"]if(category[1].checked)[/COLOR] $query = "INSERT INTO mytable (cat) …

Web Development javascript php
Member Avatar for ravibose
0
2K
Member Avatar for mrcniceguy

i`m using the jquery library in ma web....so i`m wondering which method of calling the library is more recomended. i mean to download the libary and call it directly from the server or to link to googleapis???? Any suggestions will be appreciated. <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3/jquery.min.js" type="text/javascript"></script> <script type="text/javascript"> OR <script …

Member Avatar for mrcniceguy
0
87
Member Avatar for anasp

Hi! I am new in PHP. I have a table which stores user surnames and 12 months each having a value of 1 or 0. I need via a form in PHP to check whether or not this value is 1 or 0, and be able to control this values …

Web Development mysql php
Member Avatar for anasp
0
116
Member Avatar for johndoe444

I have wrote this following code to output aphostrophe (code 39 for utf-8): test_utf8.rb: puts "It\39s a wonderful life" then ran it using: ruby test_utf8.rb > utf8.txt While opening in gedit it shows a box corresponding to \39. While opening in open office, it asks which encoding and after selecting …

Web Development ruby
Member Avatar for johndoe444
0
75
Member Avatar for Pooja J.

Hello to all, Please tell me the error from the following code. When I choose a file from 'file' field, then it update the image, but when I dont choose a file. It doesn't keep the same image, i.e. the image get disappear. What is the problem in my 'If.....else …

Web Development file-system php
Member Avatar for Pooja J.
0
110
Member Avatar for ErlendHL

I have studied some AJAX, and tried to understand it. The AJAX works; i just want to write a right php document too. With the AJAX, I load the php file write.php. Here is what is in write.php: [CODE]<?php $NAME = 'data.txt'; $HANDLE = fopen($NAME, 'w') or die ('CANT OPEN …

Web Development javascript php
Member Avatar for danishanila
0
569
Member Avatar for afruja
Member Avatar for jwenting
0
271
Member Avatar for motters

hi i am doing some research into LDAP and php is there any where i can learn how to uses LDAP systems like how to fetch info from in and into my php form and LDAP login systems like tutorial videos pages thanks any help is great [B]i do not …

Web Development php
Member Avatar for Tekkno
0
78
Member Avatar for avilporwal

Hello, I am stucked while making code in PHP. I actually want to make a table in database with name as username (of the respective user). (table should be formed only when no such table exisit before) I used session to get username and every thing is right except formation …

Web Development mysql php session
Member Avatar for diafol
0
91
Member Avatar for lifeworks

Hi I think what Im trying to do is possible, just not sure how... On a button click - Ive created an object, with some properties in it. If I want to access those properties when clicking another button... how do I do that? [code] function build() { var circ …

Web Development javascript
Member Avatar for Airshow
0
105
Member Avatar for anish.anick

Hi All, I need to implement a searching feature in my web site. My web site is a Shopping site having different categories (like ebay). There is a general search textbox at the top of the page, if a user types in "Guitar" and clicks the search button it should …

Web Development php
Member Avatar for Reliable
0
127
Member Avatar for andydeans

Hi, My MYSQL database has set columns for the data. The users have spreadsheets setup with their own columns which holds pretty much the same data on it. name, address etc. is the simpliest way to import it, to change the column headings on the spreadsheet for each user to …

Web Development php
Member Avatar for andydeans
0
95
Member Avatar for xxmp

i would like to encrypt some data and i do not know how? How i can make a secure log in to a web server? Thank you very much

Web Development encryption php web-server
Member Avatar for diafol
0
108
Member Avatar for s2xi

Hey, I've been playing around with the jDigiclock weather+time script from [URL="http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/"]http://www.radoslavdimov.com/jquery-plugins/jquery-plugin-digiclock/[/URL] the only problem with this awesome script is that it get the location of the user from the static input directly from the script. How can I access the users locale and feed it into the variable that …

Web Development javascript javascript-jquery
Member Avatar for Airshow
0
200
Member Avatar for cwarn23

Hi, I have some strings but I want to convert them to binary (1 way). Are there any functions other then the compression functions that will convert strings to binary? Thanks. cwarn23

Web Development encryption php
Member Avatar for cwarn23
0
70
Member Avatar for 6pandn21

Hello guys! I am trying to implmenent a jQuery library and it worked fine when I ran it out of server. When I tried to run from a XAMPP based web server at home; the images doesn't show and keeps giving this error: 'You don't have permission to access the …

Web Development apache client-server php
Member Avatar for 6pandn21
0
19K
Member Avatar for MDanz

what i'm trying to do.. first column 1 cell, next column 2 cells(row span 2), next column 3 cells(row span 3) etc how can i alter the below code to do that. the below code displays results across from column to column then once $max(column max) has been reached displays …

Web Development php
Member Avatar for diafol
0
105
Member Avatar for sitie_aniem

i am creating a system and have problem with the function to convert year - year, month and date. the thing that i understand is the year is round for 365 days, and others i am not really understand of all. can you give explanation for this function so that …

Web Development php
Member Avatar for daryll1
0
724
Member Avatar for Davife

As part of data entry I am checking the validity of a date field and using the onchange event to trigger the check. As you will note it also compares start and end dates, but that's not the issue. The issue is that after a bad date is detected and …

Web Development javascript
Member Avatar for Davife
0
108
Member Avatar for D4n1sD

I would like to know how to put a commenting box into my website I am not that much php expert but I need to know how to do it, I would appreciate if u wont just post a source but explain where to put it. I would also like …

Web Development php
Member Avatar for almostbob
0
132
Member Avatar for rouse

I am looking for a correct way to test a JavaScript regular expression for phone number and email address. This includes the RegExp string and the syntax. First the syntax: I am confused about using the quote mark (“) in defing the RegExp. Is it [code] var email_test = new …

Web Development javascript
Member Avatar for rouse
0
173
Member Avatar for albertkao

After the apply button is clicked, the data entered by the user disappeared in the text form. How to keep the data appearing on the text form? The server use jsp and the Spring framework and the client use the Prototype javascript library.

Member Avatar for Airshow
0
104
Member Avatar for daryll1

Hey, I'm having some trouble building code to insert values from my form. The form prints out from the username, whether the account has been confirmed and the level of the user from the database. I am having trouble getting the data to go back in once amended, this is …

Web Development php
0
122

The End.