17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for nigelsponge

Hi , I am using an explode function to split some comma separated colors into a drop down list. [CODE]<?php // Split the string up into an array of values $dropdown_data = explode(",", $row_rsApparel['Item_Colors']); // Output a dropdown echo '<select name="color" id = "color">'; foreach($dropdown_data as $key => $value) { …

Web Development php
Member Avatar for nigelsponge
0
429
Member Avatar for jaimca

I need a java script code tat changes the mouse pointer to an image of my choice when a button or an image is clicked .. Please help me out regards jai..

Web Development javascript
Member Avatar for serkan sendur
0
137
Member Avatar for peter_budo

I need to read XML document submitted to doPost() method ( I do not want to upload it, just read in and pass for further processing). Here is a general code that I use for now to see if file been received. [code=Java] public void doPost(HttpServletRequest request, HttpServletResponse response) throws …

Web Development java-jsp xml
Member Avatar for peter_budo
1
154
Member Avatar for AbhishekGoenka

Hello I have created an ActiveX control in VB6.0 and trying to embed this ActiveX control in Asp.Net 2.0 through the following command. But I can’t see anything in my aspx page whereas it works fine with html page. [COLOR="Green"]<object id="ctlVBAX" classid="clsid:B7C88829-7BCF-4AB6-95A5-F63ADBEA151A" codebase="vbActiveX.CAB#version=1,0,0,0"> </object>[/COLOR] You can download the cab file …

Web Development asp asp.net
Member Avatar for Ramesh S
0
220
Member Avatar for kristo5747

Hello! I am a newbie who's trying to code in my app a way to send email with file attachments. Here's the code I put together (thanks to Google!). [code=php]<?php $fileatt = "/somedir"; $fileatt_type = "application/zip"; $fileatt_name = "logos.zip"; $email_from = "joe@work_email.com"; $email_subject = "attachment test-subject"; $email_txt = "attachment test-body"; …

Web Development email file-system php
Member Avatar for sarithak
0
1K
Member Avatar for jithusdani

Hi folks, I wanted to get the value of the clicked A href links, somebody please help.... i have something like this, [CODE] <a href="javascript: void(0)" onClick=window.open('<?php echo $rows['file_name']?>','welcome') style="border:0 ">View</a> [/CODE] So i want to get the value if user clicks the href button. so please anybody...

Web Development php
Member Avatar for jithusdani
0
160
Member Avatar for j_limboo

How to get value from Dropdown and text values Please advice [CODE] <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <form action="tst.php" method="GET"> Input Keyword: <input type="text" name="q" style="width:200px;"> <input type="submit" value="Search"> </form> <select> <option value="SC">South Carolina</option> <option value="SD">South Dakota</option> <option value="TN">Tennessee</option> <option value="TX">Texas</option> <option value="Alaska …

Web Development php
Member Avatar for CFROG
0
2K
Member Avatar for adino2

I written a code to create a image viewer using javascript. But the script only works in IE but not in firefox. Please help. The code is below...... [CODE] <script type="text/javascript"> function changeImage(filename) { mainimage.src = filename; } </script> <center> <img src="images/bg.jpg" name="mainimage" width="419" height="282"> <marquee width="90%" scrollamount="5" onmouseover="this.stop();" onmouseout="this.start();"> …

Web Development javascript
Member Avatar for matthewmaxwell
0
144
Member Avatar for macross

I am new to php/sql, please forgive what must be a very basic question. I created a simple php form and have it send the data to a 2nd php page which then inputs the form data into a sql DB. I have it working 100%, but a question comes …

Web Development php
Member Avatar for macross
0
158
Member Avatar for dottomm

Hello, Thanks in advance to anyone who can answer this question. Can I record a users ip address without them logging into my site? I have a list of documents that I would like to make available and would like to get an idea of who may be viewing them. …

Web Development mysql php
Member Avatar for dottomm
0
185
Member Avatar for cfcoder2

Hi Guys, I’m panicking for this issue. Please help. I have a form that all the rows of the table are dynamic and there are text areas in each row that the value could change. The only thing that makes each row unique is the Month row belongs to Month …

Web Development coldfusion
Member Avatar for arrgh
0
147
Member Avatar for Stefano Mtangoo

Help me inspect this code. I cannot see error by myself. here are the codes for inc.database.php I'm learning OOP with PHP (I extensively using it with python but I'm noob to PHPiing) [CODE=php] <?php class Connectdb{ private $DATABASE = "site_contents"; private $HOST = "localhost"; private $USER = "root"; private …

Web Development oop php
Member Avatar for Stefano Mtangoo
0
148
Member Avatar for carlcarman

When I execute my functions the first one works fine and the second is called because I get my alert box but the second function does not execute. Any ideas why? Any input is appreciated. function changeFont() { <!--alert("changeFont function");--> document.getElementById("q4").style.fontStyle ="italic"; } function changeFontBack() { alert("changeFontBack function"); document.getElementById("q4").style.fontStyle="normal"; } …

Web Development javascript
Member Avatar for carlcarman
0
89
Member Avatar for Altairzq

Hello, I thought the programming gurus in this forum could lend me a hand understanding recursion in Javascript. I'm following an online Javascript tutorial ("Eloquent Javascript", I recommend it to anyone) and chapter 3 shows this function: [CODE]function power(base, exponent) { if (exponent == 0) return 1; else return base …

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

please could you give me a code the simplest code possible for a pagination, i have one however, it does not display the next item in the database....

Web Development php
Member Avatar for diafol
0
101
Member Avatar for JayGeePee

I was wondering if someone could tell me how I can set a default image to auto increment, when one of my members sign up. I cant figure out how to set this in phpmyadmin. I could do it manually, but I'd rather it be automatically.

Web Development image php
Member Avatar for diafol
0
214
Member Avatar for TryingToDo

1. I have a simple application, which uses a html table to represent the data retrieved from the database. How can I add to each row from the Html Table, a submit button. The button can be something like delete or modify the dates from that specific row, so I …

Web Development java-jsp xml
Member Avatar for TryingToDo
0
127
Member Avatar for Stefano Mtangoo

Don't get me wrong, I don't ignore the power behind CMSes. I want to make a Database driven contents. Here is the approach I want to take, correct me/Add opinion as you it! 1. Integrate TinyMCE editor for wariting contents (WYSIWYG) 2. Have database with table contents and three columns …

Web Development php
Member Avatar for Stefano Mtangoo
0
86
Member Avatar for justted

Hello everyone, I paid for this script which is a community that offers its members the chance to get a club and joijn other members clubs! However, when people try to join a club they getb this error: Parse error: syntax error, unexpected T_PRIVATE, expecting ']' in /home/cyberpet/public_html/club_join.pro.php on line …

Web Development php
Member Avatar for nasado
0
942
Member Avatar for timon_zed

Hi there, I have a servlet which is meant to retrieve data from the database by compairing the number entered via a web form. The trouble is that, it only gives me the last record in the database and not any other record. I have 5 records in the database …

Web Development java-jsp
Member Avatar for timon_zed
0
143
Member Avatar for kained

Right i'm in the process of designing a web page for a property company and the owner has requested a random property be displayed each day. I have modified a quote of the day script to work with a filemtime method but its not working and im stumped, fairly sure …

Web Development php
Member Avatar for kained
0
187
Member Avatar for Graphix

Hi, I am currently writing a chatprogram, and it works fine in FF but it doesnt refresh as it should every 1500ms (set with setInterval("retrieve_messages()",1500) in body tag) in IE. The object ajax is made in previous code. I wrote the following code: [code] function retrieve_messages() { // Checks wether …

Web Development javascript
Member Avatar for Graphix
0
187
Member Avatar for empoor

Hi. I tried looking for this problem on Google, and found a lot, but nothing that actually seems to work. I basically have a search script that works fine when using one keyword, but when one uses more than that, it returns every single row per keyword. So a search …

Web Development mysql php seo
Member Avatar for dasatti
0
218
Member Avatar for Stefano Mtangoo

Hi All, I need to make a PHP word editor for writting notes that will have buttons like one for wordpress. How do I start it? Is there readymade class that I can employ? Or any tutorial? I have never done such project before but I need such editor to …

Web Development php wordpress
Member Avatar for Stefano Mtangoo
0
244
Member Avatar for veledrom

Hi, I am trying to backup one of my Mysql database with a PHP script. [code] <?php $host="localhost"; $database="toy"; $username="root"; $password=""; $connection=mysql_connect($host, $username, $password); if(!$connection) { die("ERROR: Couldn't connect to the server."); } else { $dbSelect=mysql_select_db($database); if(!$dbSelect) { die("ERROR: Couldn't select the database."); } else { $mysqldumpPath="/usr/bin/mysqldump"; $backupFileName = "Desktop/toy-`date …

Web Development mysql php
Member Avatar for digital-ether
0
196
Member Avatar for Tekkno

I am not really sure where to go with this, but any help I can get would be appreciated. What I am trying to do is put together an array to use with a foreach loop by getting columns from multiple tables. Here is my query: [code=php] $results = mysql_query("SELECT …

Web Development php
Member Avatar for Tekkno
0
86
Member Avatar for phoobah

I have somewhat a simple scenario, and having been out of PHP for some time, I'm a bit of a brainfart the past two days as I'm researching and re-educating myself with PHP. To put in lamen terms, I have a CSV file on the host server. I have a …

Web Development file-system php
Member Avatar for phoobah
0
2K
Member Avatar for cwarn23

Hi and I am looking for a compression mechonism that can compress text (just letters and numbers) into binary or all weird symbols. Does anybody know of any good php/mysql codes as I can't get any to work.

Web Development php
Member Avatar for digital-ether
0
621
Member Avatar for Rkeast

I have an application that when a new user registers, it creates a folder for that user: /users/$user_id It then writes an index.php file to that directory, that contains the following code: [CODE] <?php define('GIVE', 'TRUE'); define('GIVE_PATH', dirname(__FILE__)); require(dirname(dirname(GIVE_PATH)) . '/gp_wrapper.php'); ?> [/CODE] It uses the path info to get …

Web Development php
Member Avatar for Rkeast
0
177
Member Avatar for joewazen

Hello, I have many jsp applications connected to Apache Tomcat 5 and IIS 6 i need to find a way to limit the number of active users in each application either in tomcat or in IIS, i know there is a way to configure server.xml in tomcat but will that …

Web Development apache java-jsp xml
Member Avatar for joewazen
0
101
Member Avatar for sulkhanz

Urgent help needed. i am a newbie, and starting to have a headache with this problem, i am using form to enter firstname so that all the details of that person can be pulled. where am i doing it wrong? its showing me the headings of firstname, lastname, and age …

Web Development html-css php
Member Avatar for sulkhanz
0
118
Member Avatar for j_limboo

the php process the page once the vistor clicks on the php based link they go to iframe where it is html. I was looking for a function where I can insert a link call go back to the link and that sould be in html on the frames

Web Development html-css php
Member Avatar for j_limboo
0
109
Member Avatar for shine_jose

I wish to use calendar control (i e selected date is to be automatically send to the text box) .The calendar control is to come like a pop up or other way without making position change to other placed controls in the web page.please help me

Web Development asp.net
Member Avatar for serkan sendur
-1
140
Member Avatar for gokul.raja

Hello, This is Gokul Rangarajan. I need a suggestion or code in JavaScript which reads the MS Word document page settings and number of pages. I know how to open and read a MS Word document, but i couldn't able to get page properties. Some one please help me with …

Web Development javascript
Member Avatar for gokul.raja
0
190
Member Avatar for jamello

I have a challenge. I need to provide a solution that would enable me capture images of occupants of several motor vehicles scattered around a geographical area. These images could be still images or video transmitted over the web to my server in my headquaters. I can program in JSP, …

Web Development asp.net java-jsp web-server
Member Avatar for jamello
0
86
Member Avatar for elgarfan

Hi, I have made a little custom control which has collection of inner properties. I've also successfully tested a custom control which accepted "literal content" (innertext) into a default property. I have both models working separately, but I'd like to combine the two into one control. That is, I want …

Web Development asp.net ide web-server
Member Avatar for elgarfan
0
254
Member Avatar for rock9449

[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 runat="server"> <title></title> </head> <body> <form id="form1" runat="server"> <div> <asp:TextBox ID="TxtPassword" runat="server" TextMode="Password" ontextchanged="TxtPassword_TextChanged1"></asp:TextBox> <asp:Label ID="Label1" runat="server" Text="Password"></asp:Label> <br /> <asp:Label ID="Label2" runat="server"></asp:Label> </div> <p> &nbsp;</p> </form> </body> </html> [/code] here is …

Web Development asp.net web-server
0
58
Member Avatar for SammiSmi

Hi All :) A 2003 word document has a ContentType "application/msword", but what is the ContentType of a 2007 Word document? Thanks :)

Web Development asp.net
Member Avatar for SammiSmi
0
79
Member Avatar for shankbond

Hi, I have just downloaded the sql server 2008 version. I am currently developing a web application which is to be uploaded on the internet Now the web application and the database both will be uploaded on the same site .To be precise I am new sql server, whenever i …

Web Development asp.net web-server
Member Avatar for shankbond
0
245
Member Avatar for smvec

hi... im trying to insert a row into the database... but the query is not run successfully.. [CODE]$sql = "INSERT INTO temp_db (fname,mname,lname,dob,gender,email,country,phno,mobile,userid,password,mti,rtime) VALUES ('$fname','$mname','$lname','$dob','$gen','$mail','$country','$phno','$mob','$uid','$pass','$mt','$rtime')"; $res = mysql_query($sql) or die("cud not add record"); echo mysql_error();[/CODE] this is the code..... im gettin the error from the Die part of the query.. …

Web Development php
Member Avatar for smvec
0
82
Member Avatar for dangari

Hi all.Am new to this forum so cut me some slack if I don't articulate my problem with utmost clarity.My problem is that I have a javascript function such as: function modReg(x,y) { <!-- var answer = confirm ("Do you really want to deregister user" +x+"?") if (answer) { document.leo["id"].value=x; …

Web Development javascript
Member Avatar for dangari
0
164
Member Avatar for geneboss

Hi Friends, I'm a newbee and trying to set up a multi step registration for my website and using the CreateUserWizard Control which should generate an automatic Unique Key assigned to the new user. This Confirmation Code(GUID) is to be substituted into the email before the message is sent. Problem: …

Web Development asp.net client-server web-server
Member Avatar for leeward
0
203
Member Avatar for Terry56

Hi to all, Hope you all are fine.I have a javascript to check whether java is installed or not on your system.The code is [code=JavaScript] <body> <script language="Javascript" type="text/javascript"> if(!navigator.javaEnabled()){ alert('Enable your java to expeirience this java enhanced page or\n try install it...'); location.replace('http://java.sun.com'); window.open('instructionsforintallingjava.html'); } else{ document.write('<applet watever></applet>'); } …

Web Development javascript
Member Avatar for Terry56
0
189
Member Avatar for valonesal

I would like to be able to open a php file and edit it from a browser window. We need to easily add website to this file. We will have a hidden, password protected area that we will use to edit this file. Is there an easy way to do …

Web Development php
Member Avatar for diafol
0
1K
Member Avatar for Ghostenshell

New to JavaScripting and copying information out of a book. I understand the concept of the code but I do not know why it is not working. I can type info in both boxes but the information does not add. Tried it in three browser FF, IE, and Chrome. [CODE]<html> …

Web Development javascript
Member Avatar for Ghostenshell
0
115
Member Avatar for diafol

I'm trying to sort an array which contains objects, but have hit a wall. I have a number of feeds that are placed into objects (WM). The feeds are placed in the order that they're loaded. I want them to be ordered w.r.t. pubDate. I'd rather not recode the whole …

Web Development php unix
Member Avatar for diafol
0
81
Member Avatar for debuitls

Hi all, Just wondering if anybody can spot the syntax error with the below. [CODE] '<button type="button" onclick="window.location='bookview.php?id='. $row['bookingref'].'&hn'. $row['hotelname'].''">Book Now</button>' [/CODE] It works fine when I just append one row to the URL like this [CODE] '<button type="button" onclick="window.location='results.php?id='. $row['proposalid'] . ''">Book Now</button>' [/CODE] The button only stops workin …

Web Development php
Member Avatar for smartness
0
144
Member Avatar for cheapterp

Hi all, All right, here's what I am trying to achieve but have no idea how to do it: My site requires users to login and every page is password protected. As part of preventing hacking (to a small extent, though) I am trying to [B]TEMPORARILY[/B] disable the user's account …

Web Development coldfusion
Member Avatar for arrgh
0
565
Member Avatar for titos97

hi i made a login page and created some user. now i like to make a sql queries with that user name. suppose username joe so he enter joe as a user name then login page sent to another page where sql qeries will be execute for that user: joe …

Web Development asp.net sql
Member Avatar for lucyoop
0
115
Member Avatar for eligmatic

I have this script: [url]http://snipplr.com/view/19692/g-or-y-search-hilite/[/url] but it won't search for chars like ')' . How should I adapt it? Thanks.

Web Development javascript regex
0
74

The End.