52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for daniweb@14

Hi frds, I have a page which contains the reference of another page .. <%@ Reference Page="../example.aspx" %> A listbox is there in the example.aspx. I want to call a javascript function, for eg, listbox1.Attributes.Add("onClick", "alert('hi');") that will be shown in main page. Plz help me to find the solution.

Web Development asp asp.net javascript
Member Avatar for SheSaidImaPregy
0
250
Member Avatar for sbv

hello friends... i want to get the browser name is asp code without using js and include the css file depending upon the browser of the user. i dont want to use js. because i am unable to include file in js. what i did in js is --- var …

Web Development asp
Member Avatar for SheSaidImaPregy
0
111
Member Avatar for Lee-Pro

Hey everyone, this is a very tough problem I am facing right now in JavaScript. I'm designing this script to load a page like an IFrame but is using AJAX, the only problem is that I need to edit certain attributes before displaying them through changing an element's innerHTML attribute. …

Web Development javascript xml
Member Avatar for Lee-Pro
0
127
Member Avatar for frotaru

Read multiple columns data from SQL query ( 1 row ) Hi all. I am using an SQL express where I’ve designed a table named User_DB_Main I have also created a procedure that makes some selections : [code] @UserId varchar(20), @UserPassword varchar(30) AS /*- Check if UserID exists*/ SELECT COUNT(UID) …

Web Development asp.net open-source sql
Member Avatar for frotaru
0
973
Member Avatar for kudzugazette

I have been using PHP sparsely on my website for some time now, but I would like to become more efficient and therefore have a couple questions. They will stream in slowly, bu for right now... Currently I use the <?php tag many times on a page. Is there a …

Web Development php xml
Member Avatar for kudzugazette
0
150
Member Avatar for Ankita B

hi, can u tel me where should i place the code for database connection?..is it placed in the same directory as other jsp and html files?....shall i put it in a java bean and then include it in all the other jsp files?..i

Web Development java-jsp
Member Avatar for Ankita B
0
127
Member Avatar for Ekiena

Hi, I'm having problems with a tab content script/css in the way it displays in Firefox. [url]http://www.godirect.com.sg/etravel3/test/etravel.htm[/url] It looks perfectly alright in IE, but in Firefox the big shaded tab on the far right just wouldn't line up. I have used 'html>body' for Firefox so the layout in IE remains …

Web Development html-css javascript
Member Avatar for Ekiena
0
108
Member Avatar for naju

I have create lots of module for a cms-site .. with functions only. to avoid the collision of the function names ... i have kept module name before the function names. now i need to convert the modules to classes. one module contains lots of files included .. can we …

Web Development cms php
Member Avatar for naju
0
88
Member Avatar for chitra1

Hi, I'm new to JSP. Can anyone suggest me any site where I can get good tutorial for beginners. Thanks.

Web Development java-jsp
Member Avatar for electron33
0
104
Member Avatar for scm22ri

Hi Everyone, I have a question in regards to dynamic keyword insertion. When someone is on one of the major search engines and they type in [B]"blue widgets"[/B] how is it possible for you to have the words [B]"blue widgets"[/B] on your landing page without having to type [B]"blue widgets" …

Web Development asp.net
Member Avatar for scm22ri
0
114
Member Avatar for Fasola

Its been a while but I need your help on this one Daniweb...I am creating request forms (i.e. Conference from Reservation Request, Software & Hardware Installation requests, Network Access Request, etc.) Forms using Code 5 System ([url]www.code5systems.com):[/url] 1. I have a form for Conference Room Reservations. There are 6 conference …

Web Development asp.net
Member Avatar for ericstenson
0
129
Member Avatar for shiny123

hi ppl.. Can anyone help me. pls tel me the Hardware and Software Requirements for Installing asp.net 2005

Web Development asp asp.net
Member Avatar for Jx_Man
0
144
Member Avatar for iamthwee

How do I send an email... I have WAMP (windows xp apache, mysql and php). But what do I do now. Explain...

Web Development apache email php
Member Avatar for iamthwee
0
159
Member Avatar for shiny123

hi ppl can any one help me pls tel me the Hardware and Software Requirements for Installing asp.net 2005

Web Development asp asp.net
Member Avatar for majestic0110
0
269
Member Avatar for Mohandsa

i have acode that upload file from client to web server but i need to insert the file name into DB (mysql) to get it in download list............HOW? this is jsp code <%@ page contentType="text/html;charset=windows-1252"%> <% response.setContentType("text/html"); response.setHeader("Cache-control","no-cache"); String err = ""; String lastFileName = ""; String contentType = request.getContentType(); …

Member Avatar for masijade
0
2K
Member Avatar for tzan2833

Dear all I have a few questions. I would be grateful if you could take the time to answer. I have installed on windows xp home apache2, php 5 and mysqlserver 5. The [URL="http://localhost"]http://localhost[/URL] page of apache works fine. The <?php echo phpinfo(); ?> page works fine. However when i …

Web Development apache mysql php windows-server
Member Avatar for grandgoodel
0
151
Member Avatar for Ankita B

hi, can you please give a step by step procedure on how to connect oracle database with jsp. I am new to the language and cant quite figure a way out.My first page is a user login and therafter username is used.How do i use sessions for this? Thanks in …

Web Development java-jsp oracle
Member Avatar for jwenting
0
88
Member Avatar for Ankita B

thx..my first page is a login.in that user name and password are to be accessed from oracle database and then matched on button click.if match occurs then user proceeds to next page. So please help me out.I m getting very confused as to where to put what code..ryt from db …

Web Development java-jsp oracle session
Member Avatar for jwenting
0
104
Member Avatar for toadzky

I am trying to circumvent the whole "javascript can't read files, that's server-side" thing. basically i have a order form with a table inside it. I want to be able to load the rows of the table dynamically when the page loads. I am trying to get the "product" information …

Web Development html-css javascript
Member Avatar for ~s.o.s~
0
71
Member Avatar for carlco9020

In my site I want to have my start page load with a video on it that when it is done switch to another page. Is there an HTML command that I can put in to do this.... I am new to building sites so any help would be appreicated.... …

Web Development html-css javascript video
Member Avatar for ShawnCplus
0
92
Member Avatar for suresh kurbar

I am studying in final year BE. I want to know about core bankiing systems as requiremnets and specifications of the project.And also if any one from this community having code for this project or relative to this project please send to my e-mail address [email]suresh_k_n@yahoo.co.in[/email]

Web Development asp.net
Member Avatar for ericstenson
0
81
Member Avatar for aksm

[code] hello! Can anyone plz tell me how 2 write z following php code into jsp..Thx in advance.. <?php $userid = $_POST["txt_login"]; $password = $_POST["txt_pwd"]; //Connecting to database include("db_connect.php"); if (($userid=='admin' OR $userid=='ADMIN') && ($password=='admin' OR $password=='ADMIN')) header( 'Location: http://localhost/MyWeb/admin.php?id='.$userid) ; else { $Rs = mysql_query("SELECT * FROM Users WHERE …

Web Development java-jsp
Member Avatar for peter_budo
0
345
Member Avatar for jaicse

hai guys, send me some usefull information regarding this cold fusion

Web Development coldfusion
Member Avatar for jsmall26
0
78
Member Avatar for peter_budo

I need to retrive value of the variable to which has been assign value on click event. The value is dynamicaly read from xml. I know that correct value is assign to propertyNum as I tried command [ICODE]document.write(propertyNum);[/ICODE] after value assign to just check it. [code]<?xml version="1.0" encoding="ISO-8859-1"?> <xsl:stylesheet version="1.0" …

Web Development javascript xml
Member Avatar for ~s.o.s~
0
167
Member Avatar for jhize

At risk of sounding like the newbie I am.... I don't know enough about php to do much of anything, yet. BUT! I know exactly what I need (I think). MAybe someone out there has seen something along these lines: It would be a php module that provide a custom …

Web Development php queue
Member Avatar for jhize
0
102
Member Avatar for nazall

this is the php code for me that gives me error Parse error: syntax error, unexpected T_STRING in C:\xampplite\htdocs\eurofrit\insert_ac.php on line 35 i will be thankfull if someone helps me because for days i can't fix it <?php $host="localhost"; $username=""; $password=""; $db_name="member"; $tbl_name="produktet"; // konoktimi ne server dhe zgjedhja e …

Web Development php
Member Avatar for phper
0
226
Member Avatar for nuBudDy

hi, im trying to view my php page on the browser on iis and i got this error : [COLOR="Red"]call to undefined function mysql_connect().[/COLOR] im not sure why this happened, tried googling but found only solution on apache. any help would be appreciated.thanx

Web Development apache mysql php
Member Avatar for phper
0
112
Member Avatar for n33712

Hi Am writing some code for which takes down new members information and creates them a username etc. It's all gone well apart from one bit of coding that i am having trouble with. When a user types their chosen password in, say....STEVEN.....then on the summary page at the end …

Web Development javascript
Member Avatar for ~s.o.s~
0
87
Member Avatar for serkan sendur

protected void Page_Load(object sender, EventArgs e) { ProcessInfo foo = ProcessModelInfo.GetCurrentProcessInfo(); Response.Write(foo.RequestCount.ToString()); } the code above generates the following error : `Process metrics are available only when the ASP.NET process model is enabled. When running on versions of IIS 6 or newer in worker process isolation mode, this feature is …

Web Development asp asp.net
0
67
Member Avatar for ejmayers
Member Avatar for lydia21

hi i am doing something like planner.... based on todays date..i want to display the current week he must be able to enter only on todays date..the previous days in the week should be readonly

Web Development php
Member Avatar for buddylee17
0
100
Member Avatar for ebabes

How will you know whether the input entered by a user in a textbox is alphanumeric, number, or string? I request a user to enter a number in a textbox and I wish to trap those users entering alphanumeric or strings. How can I do this?

Web Development asp.net
Member Avatar for SheSaidImaPregy
0
341
Member Avatar for serkan sendur

hi, i want to collect information about my asp.net worker process, so i wrote the code below : Process p = Process.GetCurrentProcess(); foreach (System.Reflection.PropertyInfo prop in p.GetType().GetProperties()) { Response.Write(prop.Name + "<br>" + prop.GetValue(p, null).ToString()); } when i run the page i get the following error : Process must exit before …

Web Development asp asp.net
Member Avatar for SheSaidImaPregy
0
2K
Member Avatar for Venom Rush

Hi guys I've got a database with a table that stores paragraphs of text. What happens at the moment is that when I pull the text from the database and display it on the page all the line breaks are missing. I'd like to keep the line breaks. I've checked …

Web Development php
Member Avatar for Venom Rush
0
94
Member Avatar for Vai

What I am trying to accomplish is: When a user logs in the username / password is checked against the database. Once that is done, I need it to load a page. I am getting an error using the following code. [code] <?php require_once('core/db.php'); // Check if login form was …

Web Development cms html-css php session
Member Avatar for nav33n
0
143
Member Avatar for Ukiya006

Hi, I am trying to create dynamic contents in a web application where I retrieve a list of data from my database.. Let's say from table MembersInfo And in this table it consist of Membername, Member Particulars, Member Address, file location of their photo in the server. i do a …

Web Development asp.net sql web-server
Member Avatar for serkan sendur
0
81
Member Avatar for Morty222

Can someone tell me why this would cause the following error: Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource <?php $un = $_POST['email']; $pw = $_POST['password']; include("../admin/mysql.php"); $query = "select * from tbl_accounts WHERE $un = email AND $pw = password"; $result = mysql_query($query); $row = mysql_fetch_array($result); …

Web Development php
Member Avatar for Morty222
0
91
Member Avatar for ushtv

[B]Description: We are accredited dealers on all brand new and used models of television sets & Brand New Phones at very cheap price with complete accessories. We are great in selling to bulks buyers and also individuals buyers, if you are interested in purchasing any one of the products, kindly …

Web Development apple asp.net iphone multimedia video
Member Avatar for SheSaidImaPregy
0
235
Member Avatar for hooray

Ok im not sure wether this counts as a php question or a database question, but ill put it here anyway. I have two fields in a database, one of which holds a foreign key that is a primary key from the other: USER(user_ID, username, password) USER_INFORMATION(user_info_ID, [COLOR="Red"]user_ID[/COLOR], name, DOB, …

Web Development php
Member Avatar for hooray
0
119
Member Avatar for davethedope

Having a bit of trouble figuring out my image upload script. I have modified this a bit, but I am stuck as to how I can get all the links to be output into one space. [code=language]<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title><?=$site_name?></title> <style type="text/css"> <!-- …

Web Development audio html-css image javascript php
Member Avatar for davethedope
0
150
Member Avatar for n33712

Hi Have a problem writing what i am sure is simple Javascript but have been trying to get round a problem for ages. The program asks the user to enter either 1 or 2 (there is a window prompt to say what option 1 and 2 are) When they enter …

Web Development javascript
Member Avatar for n33712
0
98
Member Avatar for TheAlex

Hello...I've been trying to figure out this problem for most of the week - it's my second attempt at any XML and my first at XSLT so I haven't got a complete grasp of what I'm doing yet. Any help will be muchly appreciated. :) The problem is, the code …

Web Development asp xml
Member Avatar for TheAlex
0
226
Member Avatar for muthumari

Hi , How to write the database connection(insert,delete or select query) within javascript function.Is it possible.Anyone can you help me Thank you

Web Development java-jsp javascript
Member Avatar for Zhoot
0
194
Member Avatar for acampolonghi

Hi, This is My problem: I receive datas from an xml Feed and I always worked in this way: <cftry> <!--- fetch data from web service ---> <cfhttp url="http://www............. method="get" charset="utf-8"/> <cfset xmldata = cfhttp.fileContent> <cftry> <!--- extract data from XML document and convert to query ---> <cfset lstColumns = …

Web Development coldfusion xml
Member Avatar for l14n
0
214
Member Avatar for duttydea

Hi everyone!! I have a mysql table of products and i want to group them by the category then each sub category in a table: SQL strng: [CODE] SELECT `Product_Name` , `Product_Description` , `Product_Features` , `Product_picurl` , `Product_price` , `Product_Category` , `Product_subcat` FROM `prod_listing`[/CODE] Like this: Acoustic Treatment Acoustic panels …

Web Development php
Member Avatar for nav33n
0
70
Member Avatar for dani190

hey guys i have this line [CODE]$result=mysql_query($query) or die(mysql_error()); $option=""; while($row=mysql_fetch_array($result)) { $option.="<option value=".$row['firstname; lastname'].">".$row['firstname; lastname']."</option>"; } [/CODE] Now i need to fetch the last name and first names and put them into those option values... hows that done? If i go [CODE]lastname, firstname[/CODE] I get nothing, if i just …

Web Development php
Member Avatar for nav33n
0
135
Member Avatar for duttydea

I am a Newbie To PHP!! I used maestro php myqsl to crate the code below.. I am trying to change the query to include a where statment: "where Product_Category = Acoustic treatment" everytime i edit it i get a syntax Error!! please can you help? Thanks in advance [CODE]<?php …

Web Development html-amp html-css mysql php
Member Avatar for nav33n
0
348
Member Avatar for mark2326l

I have stories (some with images) displayed through a repeating region. Data of stories and image paths from MySql. Stories with no image have a blank image frame next to it, but only on MS Explorer. I thought I had this resolved using a variable style. All Mac browsers look …

Web Development php
Member Avatar for mark2326l
0
97
Member Avatar for hooray

Hi I have some code here that fills a dropdown box from an array depending on what is selected in another dropdown box. One of them is disabled, and i would like to stop that once an option has been selected. This is the Javascript: [code=javascript] function fillStates(opt){ s=document.f.states.options s.length=stateNames[opt].length …

Web Development javascript
Member Avatar for ~s.o.s~
0
135
Member Avatar for priddysharp

It works in firefox and displays 30 seconds, but when I try it in IE7, the countdown starts at 9 seconds no matter what. [CODE] <script language="JavaScript" type="text/javascript"> var x = 31 var y = 1 function startClock(){ if(x!=='Done'){ x = x-y document.frm.clock.value = x setTimeout("startClock()", 1000) } if(x==0){ x='Done' …

Web Development javascript
Member Avatar for ~s.o.s~
0
132

The End.