52,566 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Zurompeta

This issue has me absolutely stumped. I have a drop-box on my site that contains 26 options (each options being a letter of the alphabet). This drop-box is being used to sort a database full of records by the records that correspond with the selected letter chosen. The "onchange" event …

Web Development php
Member Avatar for Airshow
0
113
Member Avatar for diafol

Hi all, I'm a bit of a jobber with JS, so please excuse me. I'm use prototype quite a lot for ajax calls, but have always used inline onclicks. I'm trying to be less obtrusive by creating event handlers/listeners. I used to do this with the aid of pHp to …

Web Development javascript
Member Avatar for Airshow
0
243
Member Avatar for deepak_8917

i have an html page with a hyperlink. when i click on it. it should move on to other html page and display the records of a database in that second html page. so i'll write a jsp (writing jdbc code in it)to retrieve the records and now since i …

Web Development java-jsp
Member Avatar for deepak_8917
0
343
Member Avatar for tulipputih

Hello, Is there any way to list the search result based on the relevance of that record vs keywords, not depending on the sequence of that record in database? Thank you

Web Development php
Member Avatar for tulipputih
0
92
Member Avatar for MashMeli

I need to get selected index value from the dropdownlist and sort it on the GridView. The code above can only sort by column. Anybody has any idea how to add the column with the selectedValue into the Sort? [code] dv.RowFilter = "NOID = '" + ddl.SelectedValue.ToString() + "'"; dv.Sort …

Web Development asp.net
Member Avatar for kvprajapati
0
81
Member Avatar for flockit

Hello, Can anyone tell me how to smooth scroll to a link like this:- [CODE] <!-- Link invisible, used to move up --> <a name="test" id="test"></a> <br /><!-- To cover up the full page and more --> <a href="#a">Scroll to #test</a> [/CODE] When a user clicks on "Scroll to #test" …

Web Development javascript
Member Avatar for flockit
0
153
Member Avatar for CodeBoy101

Hi all. I was wondering if there's a way to assign the value in a text field to a variable in jsp using Java (not Javascript). Normally in Javascript you might do something like: [icode] document.formName.fieldName.value[/icode] to access the value. How can this be achieved using Java? :icon_confused:

Web Development java java-jsp
Member Avatar for javaAddict
0
12K
Member Avatar for nithy_compvue

I am trying to use base64 encryption with DESede algorithm. I have a solution in JAVA. for Example: The encrypted form of the word 'password' is '7JHe7Oo335uQ4JqjxIWyxw==' I need similar solution in PHP. Can anyone help?

Web Development algorithm encryption php
Member Avatar for parottamaster
0
56
Member Avatar for rejisha

Hi all, I have a problem with the special characters. I can insert the special characters like ©,®,“ etc... into a database table. And it is successfully getting inserted into the table. But when i tried to retrieve it from the table it is converted into a symbol like ' …

Web Development php
Member Avatar for rejisha
0
80
Member Avatar for vuyiswamb

Good Morning All I have the Following code that sends an e-mail, let me first post the markup and the code behind. The following is the markup of my page [code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head …

Web Development asp.net client-server
Member Avatar for vuyiswamb
0
892
Member Avatar for ROTC89

ok my assignment is to make a login form that will accept a user name and password. if the user name and password don't match it doesnt do anything, but if it does it takes it to a website. my only problem is when i go to run it i …

Web Development php
Member Avatar for Gori
0
120
Member Avatar for farahshafilla

hi, actually i want to set a order id by automatically... example: oderId : GB0001 and it will increase automatically each time some one make order.

Web Development java-jsp
Member Avatar for kvprajapati
0
98
Member Avatar for Remulon

Hi, I am writing a DHTML application which uses AJAX to show dialogue windows etc.. (all the bells and whistles). When I display a DHTML dialogue in the foreground, I use JS to create a div which is a "layer" in between the foreground and the background which essentially "darkens" …

Web Development javascript
Member Avatar for Remulon
0
133
Member Avatar for khr2003

Hi I am trying to use onclick to add text to a textarea, the function I am using is: [CODE]function addtxt(input,add) { var obj=document.getElementById(input) var txt=document.createTextNode(add) obj.appendChild(txt) }[/CODE] and the line that I use to call the function - through php- is: [CODE]<a onclick=\"addtxt('post','$code');\"> <img src=\"smiles/$smile\" alt=\"$smilename\" border=\"0\" style=\"cursor: pointer;\"></a>[/CODE] …

Web Development javascript
Member Avatar for khr2003
0
170
Member Avatar for UzuNarU

Hi I am working on a website, that has 2 JavaScript elements. I have a post in another thread about loading content into a HTML DIV, I have that partially working. Doesn't work from a link yet. Does work on initial page load. Ok my problem is: I am using …

Web Development javascript open-source php
Member Avatar for Airshow
0
152
Member Avatar for kings

Is it possible to create directory in [url]www.freehyperspace2.com[/url].[CODE=php]<html> <head></head> <body> <?php $i=190; $uploaddir = "resumebasket/".$i; mkdir($uploaddir,0777); print "created"; ?> </body> </html>[/CODE] In this code i'm getting output created.but the directory was not in the site.This access is available in this site.

Web Development php
Member Avatar for Anestori
0
97
Member Avatar for hoektoe

hi i would like to update the lecturer lec_id of an module if that module does not have an lecturer a signed, but same time must not update the modules lecuturer when there is already one present... the columns in table module are mod_id, mod_name, lec_id.. mod_id and mod_names have …

Web Development php
Member Avatar for hoektoe
0
86
Member Avatar for dwlamb_001

I've searched through the threads and I can't find what I am looking for exactly. I apologise if I'm posting something already resolved for someone else. I have a page for browsing the contents of a database. An option for each of those records is to update/edit. The user clicks …

Web Development mysql php
Member Avatar for djjjozsi
0
1K
Member Avatar for farahshafilla

i have the below code: its appear error when i run the code: [CODE=jsp]<%@page contentType="text/html" pageEncoding="UTF-8"%> <%@ page import="java.io.*,java.sql.*,java.util.*,java.text.*,java.text.SimpleDateFormat" %> <html> <% int val =0; StringcontentType = request.getContentType(); if ((contentType != null) && (contentType.indexOf("multipart/form-data") >= 0)) { DataInputStream in = new DataInputStream(request.getInputStream()); int formDataLength = request.getContentLength(); byte dataBytes[] = new …

Member Avatar for javaAddict
0
82
Member Avatar for esp68

Yes, there are many posts out there about badword filters, and most seem to fall short of something you'd want to turn loose on a corporate website. I've created a fairly elegant badword solution, and I wish to share it with the development community. I'm looking to optimize it a …

Web Development php
Member Avatar for jiawei456123
0
563
Member Avatar for spidermite

This is driving me nuts!!! I am passing a text array from a form to another file and trying to display the data. I have reduced the process to it's simplest form and still can not make it work. FormSend.php: [code] <?php echo '<form method="post" action="FormRecieve.php" name="Activate"> <input type="text" name="fruit[]" …

Web Development apple php
Member Avatar for kvprajapati
0
126
Member Avatar for CodeBoy101

Hi I'm trying to create a mortgage calculator using Java (not Javascript) on a JSP page and I need to know if there's a way to set the values of textfield so that I won't have to send information from one page to another.

Web Development java java-jsp
Member Avatar for kvprajapati
0
187
Member Avatar for Traicey

Hi all I am trying to retrieve a data from Oracle database and display it in the textboxes to be editable but with no luck, am getting a ORA error, [COLOR="Green"]missing right parenthesis[/COLOR], that sounds easy and I also thought, I put in the right parenthisis but still it is …

Web Development asp.net open-source oracle
Member Avatar for kvprajapati
0
130
Member Avatar for CasTex

Hello, I have a script that like; [code=JavaScript]<script language="JavaScript"> document.write('<input border=0 type=button value='' '); document.write(' onClick = "location.replace('); document.write(' document.stats.site.value + '/');"'); document.write(' value="Search">'); document.write('</input>'); </script>[/code] Works nice. It directs the user to the location that written in the text input. I mean user write a site and the script …

Web Development javascript
Member Avatar for CasTex
0
1K
Member Avatar for happylondoner

Hi there I need to create three dropdown boxes (box 1:colour, box 2: price, box 3:brand) and when the user presses "GO" they are returned with the correct information, pulled from corresponding fields in my MYSQL database. For example, colour: silver, price £100-£200, brand:samsung...should return 5 items on the page. …

Web Development javascript mysql
Member Avatar for happylondoner
0
114
Member Avatar for websurfer

Hi, all: I got a form where some checbox fields will hide or show as user clicks specific choices. Problem is, if one mistakenly checks one of these checkboxes and then hides it, it still does retain the checked value, even if hidden. How can I make sure that the …

Web Development javascript
Member Avatar for websurfer
0
127
Member Avatar for rockaskane

Hi everybody! Lets see if i can explain what i am trying to achieve. i have a form to insert some products into a data base... just a normal form. The hardest part is this. i have a javascript code on a text field that launches a page in a …

Web Development javascript
Member Avatar for msvinaykumar
0
109
Member Avatar for rodmastar

I am not a java guy.. but made this code ( to open new page sized.. on another page of mine but darn i can not get it to do so on this page? Is it a DIV thing... new to these tags too/// [url]http://www.mastar.com/Presentations.html[/url] Where it say Teamviewer button …

Web Development javascript
Member Avatar for CasTex
0
161
Member Avatar for gingank

Anyone can help me solve this. I create a web site using css and lot of image when i upload on the apache server all the thing can not be display on my pc or in other pc when i access the address. So any genius help me solve this …

Web Development apache display image php web-server
Member Avatar for zapid
0
80
Member Avatar for samarudge

Hi, I have spend a while working on a new project called HappyThumbs (Was going to go for IThumbs but then I Googled it :P)(BTW don't Google IThumbs with safe search off) but I was hoping some people could help me test it and feed back on this thread. The …

Web Development api google-api php
Member Avatar for somedude3488
0
123
Member Avatar for veledrom

Hi, I have 3 tables and want 3rd table to appear at the bottom of the page when it is printed off because it will be footer.How can i do it? Thanks [code] <table> <tr> <td>Table 1</td> </tr> </table> <br /> <table> <tr> <td>Table 2</td> </tr> </table> <br /> <table> …

Web Development javascript
Member Avatar for Airshow
0
116
Member Avatar for TommyBs

Hi all, I've recently begun working with mysqli in a php site in order to make use of bound queries. Now I have a config file that I am including in all pages that has something similar to: $dbc = new mysqli(_HOST,_USER,_PASS,_DBNAME); and this works as expected. If I then …

Web Development mysql php
Member Avatar for kvprajapati
0
120
Member Avatar for lamiv007

Hello All, I got hosting from Yahoo. It doesn't allow me to upload files starting with a full stop. And I purchased a classifieds script. It requires the .htaccess file to work. Can anyone suggest a replacement for .htaccess files? I mean any program that works as .htaccess but does …

Web Development php
Member Avatar for samarudge
0
211
Member Avatar for k2k

hi, thanks for ppl answered my last thread and i did get that overcome. thanksss big picture: now. last last problem, my program generates 10 random questions with random wrong answers in radio and one correct answer also in radio. when i click checkAnswer it should check the right answer …

Web Development javascript
Member Avatar for essential
0
189
Member Avatar for samarthashok

Hello People.. I am using cURL to open up a web page from my page. I am giving my password and email.. but on LIVE HTTP headers a plugin by FF..it shows error 404.. it says so because the new page has a css file named "io.css" and error 404 …

Web Development html-css php xml
Member Avatar for kireol
0
368
Member Avatar for ChrisJ

Greybox, the pop-up window: [url]http://orangoo.com/labs/GreyBox/[/url] I'd just like to know how I can get it to pop-up not in the center of the page. I'd like it to pop-up on the left side of the page. Is that possible? If so can you help me accomplish this? It's ben suggested …

Web Development javascript
Member Avatar for abhihome
0
92
Member Avatar for CaptainColossal

Hi I have an HTML document with a table that is 3 rows of 3 cells each, that presents 9 flash presentations in those cells. I want to use a pair of radio buttons to toggle the presentations in those cells as follows. The page will load with a "jpg" …

Web Development flash html-css javascript
Member Avatar for Airshow
0
136
Member Avatar for kireol

Is there a better way to do a search within an array of associative arrays? :) Basically a way to replace the function that I did that works, but was wondering if there's a better way. [ICODE]<?php $employee = array(); $employee [] = array("name" =>"Chris Apple", "company" => "Acme inc.", …

Web Development apple php
Member Avatar for kireol
0
158
Member Avatar for ChrisJ

Thanks for looking here. I'd like to move the list of thumbnails that appears on the serch page of this php script (see attached). They appear on the left side of the right column. I'd like them to appear on the right side of the right columns and was told …

Web Development php
Member Avatar for ShawnCplus
0
105
Member Avatar for Enrico!

Hi, every one....recently i have learn how to delete rows from a table, but i was trying to do it by mean of the row id, and i could do it...so if any one have a wonderful idea..please let me know. please could you also upload the code when you …

Web Development javascript
Member Avatar for sysel
0
8K
Member Avatar for MJ Pieterse

i'm not sure if this is the correct place to post this, but i have a li menu with a sub menu that uses javascript. my normal code for a menu would be for instance: [code] function mmLoadMenus() { if (window.mm_menu_123456789_0) return; window.mm_menu_123456789_0_1 = new Menu("Tables",80,16,"Arial, Helvetica, sans-serif",10,"#ffffff","#ffffff","#004E69","#C6282B","center","middle",3,0,1000,-5,7,true,true,true,0,true,true); [/code] the …

Web Development image javascript
Member Avatar for Airshow
0
124
Member Avatar for virang_21

Hi, I have hosted a website that has MSSQL Server 2005 database on different machine. I am using the following connection string [code]<add name="ConnectionString" connectionString="Server=mssql2005.ableos.com.au;Database=visualinventory_ableos_com_au;Uid=myuserid;Pwd=mypassword;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/code] I am getting the following error. [B]A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server …

Web Development asp.net mssql
Member Avatar for smithroy9
0
151
Member Avatar for k2k

say i have: document.writeln("0") document.writeln("1") document.writeln("2") document.writeln("3") document.writeln("4") how i do generate them in different order each time but all of them must display? ... please help ex: .... 1 ........ 3 ...........0 ...........4 ........... 2 then another output would be: ........3 .........2 .........4. .........1 ............0 ... all random but …

Web Development javascript
Member Avatar for essential
0
136
Member Avatar for gondaliya

I am developing a website to automate the virtual server creation. At the time of creating and starting the VPS, I am receiving this error message. I think it is regarding something permission related and my host can solve this. I am just looking for a suggestion if there is …

Web Development asp.net web-server
Member Avatar for smithroy9
0
120
Member Avatar for CS Lover

Hi iam having really an annoying problem .. iam inserting some to DB ( Mysql ) throught ( jdbc ) from ( servlets ) and want to get the last insert id to move on .. but just it doesnt work .. always throws NULL in the exception .. this …

Web Development java-jsp
Member Avatar for CS Lover
0
139
Member Avatar for gingank

Please guide me send multiple attachment in one mail trough php mail script Below is for single attachment the how on multiple attach [ICODE]<?php // Read POST request params into global vars $to = $_POST['to']; $from = $_POST['from']; $subject = $_POST['subject']; $message = $_POST['message']; // Obtain file upload vars $fileatt …

Web Development php
Member Avatar for ayesha789
0
169
Member Avatar for lithodora

Form Validation Script: [code]<script language="javascript"> function handler(where){ //check for unusual characters var iChars = "!@#$%^&*()+=-[]\\';,./{}|\":<>?"; var wspace = " "; for (var i = 0; i < where.value.length; i++) { if (iChars.indexOf(where.value.charAt(i)) != -1) { return false; } if (wspace.indexOf(where.value.charAt(i)) != -1) { return "nope"; } } } function emailhandler(where){ …

Web Development javascript
Member Avatar for foryounow
0
139
Member Avatar for keepbusy

On my website, users have the ability to post comments. Comments get inserted into my mysql database as plain text. When displaying the comments back, I am trying to use the php nl2br() function to allow it to display line breaks as <br /> tags, but it doesn't work. I've …

Web Development php
Member Avatar for keepbusy
0
102
Member Avatar for gingank

I wan to the system to field up the ip address automatic then send it into the body message but it out error can help me about this [code=php]$fields{$_SERVER['REMOTE_ADDR']}="IP Address"; $body = "Here is the following detail:\n\n"; foreach($fields as $a => $b){ $body .= sprintf("%20s: %s\n",$b,$_REQUEST[$a]); }[/code] Notice: Undefined index: …

Web Development php
Member Avatar for gingank
0
96
Member Avatar for drakkn

I have no idea where to start. I have a website which sells products via a shopping cart - when someone places an order I want to have the order automatically printed in the despatch area.

Web Development php
Member Avatar for kireol
0
109

The End.