17,029 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for adaykin

Hello, whenever I try to call this function, web developer plugin for firefox gives me a message that says: "Error: addRow is not defined Source File: [url]http://localhost/xampp/Aptana/index.php[/url] Line: 1" Here is my code: [CODE] <script type="text/javascript"> var k = 7; function addRow() { var rowItem = document.createElement('input'); newRow.setAttribute('type', 'text'); newRow.setAttribute('name', …

Web Development javascript
Member Avatar for adaykin
0
126
Member Avatar for 1andyw

My isp web server is separated into ‘www’, which parses php, html, etc; and ‘private’ which does not parse. What are the practical limitations of placing files in the private section. I am setting up a content management system for off campus work. Anyone know of a decent tutorial or …

Web Development php web-server
Member Avatar for alphaseinor
0
169
Member Avatar for enim213

here's what i already have, whenever i click a specified letter like for example 'A' it must print out and count how many countries starting with that letter. The problem is whenever the count is greater than the specified limit, when i clicked to page 2, it shows also countries …

Web Development html-css php
Member Avatar for enim213
0
106
Member Avatar for bob82

Is there a place where we can evaluate our jsp page code is in accordance with the sun "jsp coding standards"?

Web Development java-jsp
Member Avatar for peter_budo
0
65
Member Avatar for swefil2008

I need a routine for printing out to pre-printed paper forms. We recently had a programmer install in our office software written in php , and to be used locally through localhost on our pc, mysql, php and apache2.2 all installed, the software is working well, however we have a …

Web Development php
Member Avatar for casper_wang
0
149
Member Avatar for mustafaneguib

[CODE=php]<html> <head><title>Write a New Article</title></head> <body> <?php session_start(); $connect=mysql_connect("localhost", "worldofp_mussy", "mustafa"); mysql_select_db("worldofp_blog1") or die(mysql_error()); $get="SELECT user_id, user_name FROM user WHERE user_name = '" . $_SESSION['username'] . "' ORDER BY user_id"; $results=mysql_query($get) or die(mysql_error()); $row=mysql_fetch_array($results); $insert="INSERT INTO article( article_name, article_content, user) [B]VALUES ( '<h4>" . $_POST['articlename'] . "</h4>', '<pre>". $_POST['articlecontent'] ."</pre>', …

Web Development php
Member Avatar for nav33n
0
161
Member Avatar for MDGM

Hi all, I have just put together a simple log in script from various tutorials on the web and at the moment it is only checking the username entered by the user against what is in my database. I cant find any infromation about any kind of AND function or …

Web Development php
Member Avatar for nav33n
0
122
Member Avatar for ingeva

Searching for a solution to my problem I found this forum. Hope someone here can help. Instead of manually updating a table by using copy/paste from a web page, I would like to read the page directly from php. Pasing the contents would be a breeze, but I have no …

Web Development dns php socket-programming
Member Avatar for ingeva
0
76
Member Avatar for PomonaGrange

Hi, I have been trying to create a searchable database and have the following code for my form and the action code. When the form is changed/submitted ll I get is an error "Query was empty" Can anyone offer any help?? [code]SEARCH By Last Name (Letter)<form NAME="navsel" action="sel_byLetter.php" method="get"> <select …

Web Development php
Member Avatar for PomonaGrange
0
273
Member Avatar for mcx76

Hi, I am looking for help to find "popup script" which can Automatic open when website open. I want to add Image or any way to Flash Movie. Thanks you in advance.

Web Development flash javascript
Member Avatar for ~s.o.s~
0
81
Member Avatar for emit_flesti

This is the weirdest problem I've seen so far. But upfront this is my first javascript development. I've mostly programmed in Actionscript and PHP. I have quite a bit of javascript running on my PHP page. I had just gotten everything to work well (looking at you IE7!) and I …

Web Development actionscript javascript
Member Avatar for emit_flesti
0
95
Member Avatar for dkv

I am new to using php for querying exchange server. I downloaded the class_http.php and class_xml.php. I am trying to run the example "Grab all properties for an item " given at http://www.troywolf.com/articles/php/exchange_webdav_examples.php#allprops . I have modified the following variables in the example php script (exch3.php): $exchange_server = "http://mail.msm.edu"; $exchange_username …

Web Development apache encryption php
Member Avatar for dkv
0
315
Member Avatar for Shanti C

I want to expire login details after some days.. Can any one help me any short code to this thread in php... I have the registered date of particular member in my database.. Thanks.

Web Development php
0
69
Member Avatar for c++ prog

our group made a decision to do a dynamic website, and the best tool for this is PHP! But this is too risky...why? because none of us has any background on it!!! can anyone recommend a site that can teach me how to use PHP...any help would be appreciated..tnx

Web Development php
Member Avatar for ditty
0
133
Member Avatar for Shanti C

Hello all.. Plz look at my thread... I have a date field in my data base table.. And i want to increment that date coming from database table.. Can any one help me please... Thanks... Shanti.

Web Development php
Member Avatar for Shanti C
-1
91
Member Avatar for Venom Rush

Hi there I'd like to know if this is at all possible...I'm sure it is but I haven't been able to find a single function that would do this in php.net's manual. The only function I've found is the copy() function but that only copies a single file or folder. …

Web Development php
Member Avatar for Venom Rush
0
83
Member Avatar for friedguy

Hey all, I am trying to create a site that produces a PDF or something similar based upon user input through radio buttons. For example say there are three categories A, B, and C. Each category has two options, 1 and 2. So a diagram with option A = 1, …

Web Development javascript pdf
Member Avatar for friedguy
0
130
Member Avatar for jmasta

Hello everyone, I've run into a brick wall with this problem. I've been given a huge webapp that was designed for IE6, and I need to make it work(and look good) in Firefox 3.0 and IE7. So far, it's just been a bunch of CSS, JSF, and HTML changes, with …

Web Development html-css javascript
Member Avatar for jmasta
0
144
Member Avatar for heels

Hi, How do you retain values entered in the textbox after submitting? javascripts or any other methods? Thanks alot. Regards, heels

Web Development php
Member Avatar for casper_wang
0
174
Member Avatar for pakoppan

Hello, I have the following script that [COLOR="red"][B]used to work [/B][/COLOR]with FF2. Now I get under FF3: [COLOR="red"] TypeError: document.getElementByID('content') is null[/COLOR] [B]SCRIPT:[/B] [code=javascript] function Sounding(){ var yr = "08"; var myArray = new Array(); myArray[0] = new Date() ; var mes = (myArray[0].getMonth() ); if (mes.length = 2) { …

Web Development javascript
Member Avatar for pakoppan
0
126
Member Avatar for kvdd

Hello, I am trying to add a total of some items in a while. My while produces list with names and with times that that person has worked. Like this: [code] John 8:00 John 5:00 John 6:00 <<here the total of john>> Lars 9:00 Lars 4:00 <<here the total of …

Web Development php
Member Avatar for nav33n
0
112
Member Avatar for Venom Rush

Hi all Just curious to know if this(thread heading) is at all possible. Haven't been able to find anything on the net so far.

Web Development php
Member Avatar for Venom Rush
0
107
Member Avatar for Swin

Hello everybody, Please help me. very urgent. I am a Junior developer. My problem is, In my site there are number of users. There have entered for space,domain registration ,etc... what is i want is. After one year the Domain Registration was expired. Before one month of expiry date a …

Web Development asp
Member Avatar for Swin
0
103
Member Avatar for darkraider

How to i get it rite ?? i tried the code below by it fail, anyone can correct me and tell when i when wrong ?? var Fname=document.getElementById('Fname').value; if(!/^[A-z]*$/+$/.test(Fname)){ msg+='- Only Letter & Space '+email+'\n\n';}

Web Development javascript
Member Avatar for darkraider
0
67
Member Avatar for MDGM

Hi all =] I have a php script which gets the file name of every .jpg file in a folder and then writes the <img>, and a form. The script uses a string called "galleryarray" to store the filename, which is then called into a hidden field so when the …

Web Development php
Member Avatar for MDGM
0
154
Member Avatar for MDGM

Hey, Im just wondering how i can get something like this to work: [CODE] $tablename = $_POST['tablename']; mysql_query(CREATE TABLE `databasename`.`$tablename` (`name` VARCHAR( 200 ) NOT NULL)) [/CODE] At the moment its coming up with an error because I am using a variable for the table name instead of inputting it …

Web Development php
Member Avatar for MDGM
3
3K
Member Avatar for ansari.wajid

Hi All I am working since 2 days to display images in a datalist and the code used is given below, but its not displaying the images. I am storing path of the image in database in imagepath cooumn. Kindly help me please. html code <asp:DataList ID="dlImage" runat="server" RepeatColumns="3" Width="311px" …

Member Avatar for ansari.wajid
0
107
Member Avatar for tuse

Hi! I am trying to develop an online examination system (my first asp.net project) in which multiple choice questions need to be answered within a time frame. One question appears after another on clicking a button. How can I use a timer control for this? When the timer expires, all …

Web Development asp.net
Member Avatar for tuse
0
184
Member Avatar for hughv

I'v e been using a script for pop-ups for several years, and it works fine in FF. I noticed the other day that in IE7 it's cutting off the right side of the image. I don't see anything obvious, but I don't know much about Java, so I'm hoping someone …

Web Development javascript
Member Avatar for ~s.o.s~
0
95
Member Avatar for mcgarry101

Hi, I am wondering if anyone can help me with a small problem I am having. I am populating a gridview from an oracle DB. I only want some of these columns to be editable so I am using the code below to try and acheive this. As you can …

Member Avatar for mcgarry101
0
149
Member Avatar for unixmonkey

Hey All, I've been googling and phping (doesn't quite sound as good) and I can't seem to find any references or even what it is called. Here is my current situation: We have a webserver running at production.company.com In directories below that, we have web-applications such as production.company.com/timeTracker production.company.com/calculator production.company.com/geneticCloner …

Web Development php web-server
Member Avatar for ShawnCplus
0
286
Member Avatar for Stewie

Right now I have a page set up that inserts a record into a DB that a user enterd. I have it set up to take them to another page that shows the the information that they entered. but I also have a cfmail tag that e-mails the same information …

Web Development coldfusion email html-css
Member Avatar for creative72
0
598
Member Avatar for antwan1986

Hi everyone and thanks for reading. I've been making a news section for a client's site and now I'm trying to make a little box for the front page to show the five latest stories. Everything is fine in that aspect; I know about using the LIMIT keyword in the …

Web Development mysql php
Member Avatar for nav33n
0
2K
Member Avatar for plusplus

I have a login control, when user presses login I want to check if he exists in the table. I made a connection to database, and now how do I check if he exists? Protected Sub Login1_Authenticate(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.AuthenticateEventArgs) Handles Login1.Authenticate Dim sqlstring As String …

Web Development asp.net
Member Avatar for bala24
0
172
Member Avatar for curtranhome

I need help to find a code that will hide the file location on the server, like instead of showing: [url]http://cbuy.webs.com/file.html[/url] I would want it to show: [url]http://cbuy.webs.com/[/url] for the whole site. can and will anyone help me please?

Web Development javascript
Member Avatar for Luckychap
0
132
Member Avatar for thompa

Hi there, I have had a script on my web site which opens a popup window when clicked. It works in Firefox and I am sure that it worked in IE6 - but it does not work in IE7. The javascript part is from Eric King who posted the script …

Web Development html-css javascript
Member Avatar for thompa
0
356
Member Avatar for Hercf

Hi everybody! Could you teach me how to get back the “primary key”: (“id”), from an “insert query”? * [code=coldfusion]<cffunction name="insertData" access="public"> <cfargument name="formData" type="struct" required="yes"> <cfquery name="qInsert" datasource="mydata"> INSERT INTO mytable (email, firstname, name) VALUES ('#formData.email#', '#formData.firstname#', '#formData.name#') </cfquery> </cffunction>[/code] * How could I get back the primary key:”id” …

Web Development coldfusion
Member Avatar for cmhampton
0
134
Member Avatar for jstama

I use a page that pulls the content from a database, including the title of the document. How can I make that title to also be the browser title (content in the title tag)? Thanks!

Web Development coldfusion
Member Avatar for cmhampton
0
137
Member Avatar for curtranhome

can anyone please give me the code (or point me in the right direction) to be able to password protect a web page with javascript that gets the usernames and passwords from a database and displays a message if the entered password or username is wrong and points the user …

Web Development javascript
Member Avatar for stephen84s
0
90
Member Avatar for darcee

how to put icon on php? in my index.php where i can put the code? heres my index. php <?php include("./include/auth.php"); include("./include/top_header.php"); ?> <table width="98%" align="center"> <tr> <td class="textArea"> <strong>You are now logged into <a href="about.php">Cacti</a>. You can follow these basic steps to get started.</strong> <ul> <li><a href="host.php">Create devices</a> for …

Web Development php
Member Avatar for sDJh
0
129
Member Avatar for phpuser

Hi,friends I want to display calender in simple way just like the calender display all months in first row,after then 15 days of any one month in second row just like dtpicker but all months displayed at the same time in one row. ref link:[url]http://www.tourstogo.com.au/tour.5143[/url] as given in link, i …

Web Development display php
Member Avatar for phpuser
0
115
Member Avatar for bharathi_n_r

hi fellow developers, I am in the process of generating a pdf file from html....The concept goes like this... I have a Html page where the details of a particular employee is displayed in a table...At the bottom of the page there is a button to convert this page to …

Web Development asp.net html-css pdf
Member Avatar for bharathi_n_r
0
106
Member Avatar for darkraider

I try alot of way but still cant the radio button to work. i need the user to select one of them else an error msg will appear. I got the error msg to appear but it still load over to the next page as if i selected the gender. …

Web Development javascript
Member Avatar for darkraider
-1
81
Member Avatar for Kavitha Butchi

Hi all, Can someone tell me, How to wrap text around an image when the image source is in a php variable?Here is my code. [code=php] <html> <head> <style type="text/css"> #divider { background-color: #ccffff; border: 1px solid #ccc; padding: 0px; margin: 1px 0px 0px 0px; } .fndslist{ position: absolute; border: …

Web Development html-css image php
Member Avatar for Kavitha Butchi
0
232
Member Avatar for darkraider

Hi all again I'm very very new to javascript, post a help here on validate radio button got solve with the alert msg but still waiting for the solution on selecting either M or F. My next problem is validate dropdown menu, my default is select, i want the user …

Web Development javascript
Member Avatar for Traicey
0
104
Member Avatar for fangzhou

hello how do i populate or change the values in multiple textfields using javascript? the textfields has the same ID because it is in a repeat region. i manage to change just the top most textfield using javascript. so how to populate the rest? [code] <script type="text/javascript"> function chalb() { …

Web Development javascript
Member Avatar for Luckychap
0
117
Member Avatar for cheapterp

Hey Guys, I have just started working on ColdFusion, so I am relatively new to it than most of you may be. I am trying to create 'Sticky Stay-Filled' forms so that when the form is submitted, the details entered on the form show up on the page following the …

Web Development coldfusion
0
86
Member Avatar for harrence

Hi all, I'm currently working on having 'artist_id' counted once only between two dates although they may have visited several times over that period. The following code works very well for counting the total number of visits. Any suggestions out there? Regards harrence [code] $sql = "SELECT * FROM artists_details …

Web Development php
Member Avatar for harrence
0
92
Member Avatar for scottholmes

I need to be able to parse out data fields from Open Office documents on the fly. I'm using tbsooo_class.php and I have a number of files with variable fields embedded. The code I have, derived from TBS (tiny but strong) parses out only the text. I need the entire …

Web Development php xml
Member Avatar for scottholmes
0
150
Member Avatar for antwan1986

Hi everyone, and thanks for reading. I've a client who will be wanting an events/news section for their website and I have a question about handling this information from a database. Lets say that the table consisted of: [CODE] story_id - To make each story unique. title - The title …

Web Development mysql php
Member Avatar for ferminselvin
0
115

The End.